fix: autocomplete recipes
This commit is contained in:
parent
6f0d8b190d
commit
fbc3b48d39
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue