refactor: match app/recipe new instead of create

This commit is contained in:
decentral1se 2021-09-07 07:31:11 +02:00
parent 76372bb8cb
commit 2cb0fb8d66
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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,