abra/cli/recipe/recipe.go

33 lines
994 B
Go
Raw Normal View History

package recipe
2021-07-21 08:58:13 +00:00
import (
"github.com/urfave/cli"
2021-07-21 08:58:13 +00:00
)
2021-09-05 20:33:07 +00:00
// RecipeCommand defines all recipe related sub-commands.
var RecipeCommand = cli.Command{
Name: "recipe",
Aliases: []string{"r"},
2021-12-19 23:15:42 +00:00
Usage: "Manage recipes",
ArgsUsage: "<recipe>",
2021-07-28 11:56:18 +00:00
Description: `
2021-12-19 23:15:42 +00:00
A recipe is a blueprint for an app. It is a bunch of config files which
describe how to deploy and maintain an app. Recipes are maintained by the Co-op
Cloud community and you can use Abra to read them and create apps for you.
2021-12-19 23:15:42 +00:00
Anyone who uses a recipe can become a maintainer. Maintainers typically make
sure the recipe is in good working order and the config upgraded in a timely
manner. Abra supports convenient automation for recipe maintainenace, see the
"abra recipe upgrade", "abra recipe sync" and "abra recipe release" commands.
2021-07-28 11:56:18 +00:00
`,
Subcommands: []cli.Command{
2021-07-21 08:58:13 +00:00
recipeListCommand,
2021-07-24 21:18:23 +00:00
recipeVersionCommand,
2021-09-22 14:03:56 +00:00
recipeReleaseCommand,
recipeNewCommand,
recipeUpgradeCommand,
recipeSyncCommand,
2021-08-03 17:25:32 +00:00
recipeLintCommand,
2021-07-21 08:58:13 +00:00
},
}