refactor: centralise recipe validation

This commit is contained in:
2021-09-06 00:45:13 +02:00
parent 691a2c7a50
commit a0625bf133
8 changed files with 14 additions and 12 deletions

View File

@ -28,7 +28,7 @@ the versioning metadata of up-and-running containers are.
`,
ArgsUsage: "<recipe>",
Action: func(c *cli.Context) error {
recipe := internal.ValidateRecipeArg(c)
recipe := internal.ValidateRecipe(c)
appFiles, err := config.LoadAppFiles("")
if err != nil {