forked from toolshed/abra
		
	fix: autocomplete recipes
This commit is contained in:
		| @ -8,6 +8,7 @@ import ( | ||||
|  | ||||
| 	abraFormatter "coopcloud.tech/abra/cli/formatter" | ||||
| 	"coopcloud.tech/abra/cli/internal" | ||||
| 	"coopcloud.tech/abra/pkg/autocomplete" | ||||
| 	"coopcloud.tech/abra/pkg/config" | ||||
| 	gitPkg "coopcloud.tech/abra/pkg/git" | ||||
| 	"coopcloud.tech/abra/pkg/recipe" | ||||
| @ -62,6 +63,7 @@ You may invoke this command in "wizard" mode and be prompted for input: | ||||
| 		internal.CommitMessageFlag, | ||||
| 		internal.TagMessageFlag, | ||||
| 	}, | ||||
| 	BashComplete: autocomplete.RecipeNameComplete, | ||||
| 	Action: func(c *cli.Context) error { | ||||
| 		recipe := internal.ValidateRecipeWithPrompt(c) | ||||
| 		directory := path.Join(config.APPS_DIR, recipe.Name) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user