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"
|
||||
)
|
||||
|
||||
var recipeCreateCommand = &cli.Command{
|
||||
Name: "create",
|
||||
var recipeNewCommand = &cli.Command{
|
||||
Name: "new",
|
||||
Usage: "Create a new recipe",
|
||||
Aliases: []string{"c"},
|
||||
Aliases: []string{"n"},
|
||||
ArgsUsage: "<recipe>",
|
||||
Action: func(c *cli.Context) error {
|
||||
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{
|
||||
recipeListCommand,
|
||||
recipeVersionCommand,
|
||||
recipeCreateCommand,
|
||||
recipeNewCommand,
|
||||
recipeUpgradeCommand,
|
||||
recipeSyncCommand,
|
||||
recipeLintCommand,
|
||||
|
Loading…
Reference in New Issue
Block a user