refactor: match app/recipe new instead of create
This commit is contained in:
parent
76372bb8cb
commit
2cb0fb8d66
|
@ -13,10 +13,10 @@ import (
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var recipeCreateCommand = &cli.Command{
|
var recipeNewCommand = &cli.Command{
|
||||||
Name: "create",
|
Name: "new",
|
||||||
Usage: "Create a new recipe",
|
Usage: "Create a new recipe",
|
||||||
Aliases: []string{"c"},
|
Aliases: []string{"n"},
|
||||||
ArgsUsage: "<recipe>",
|
ArgsUsage: "<recipe>",
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
recipe := internal.ValidateRecipe(c)
|
recipe := internal.ValidateRecipe(c)
|
|
@ -18,7 +18,7 @@ Cloud community and you can use Abra to read them and create apps for you.
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
recipeListCommand,
|
recipeListCommand,
|
||||||
recipeVersionCommand,
|
recipeVersionCommand,
|
||||||
recipeCreateCommand,
|
recipeNewCommand,
|
||||||
recipeUpgradeCommand,
|
recipeUpgradeCommand,
|
||||||
recipeSyncCommand,
|
recipeSyncCommand,
|
||||||
recipeLintCommand,
|
recipeLintCommand,
|
||||||
|
|
Loading…
Reference in New Issue