2021-08-02 01:10:41 +00:00
|
|
|
package recipe
|
2021-07-21 08:58:13 +00:00
|
|
|
|
|
|
|
import (
|
2022-01-18 13:13:20 +00:00
|
|
|
"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.
|
2022-01-18 13:13:20 +00:00
|
|
|
var RecipeCommand = cli.Command{
|
2021-09-04 23:21:16 +00:00
|
|
|
Name: "recipe",
|
2022-01-18 13:13:20 +00:00
|
|
|
Aliases: []string{"r"},
|
2021-12-19 23:15:42 +00:00
|
|
|
Usage: "Manage recipes",
|
2021-09-04 23:21:16 +00:00
|
|
|
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
|
2021-09-04 23:21:16 +00:00
|
|
|
describe how to deploy and maintain an app. Recipes are maintained by the Co-op
|
2022-05-13 14:44:49 +00:00
|
|
|
Cloud community and you can use Abra to read them, deploy 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
|
|
|
`,
|
2022-01-18 13:13:20 +00:00
|
|
|
Subcommands: []cli.Command{
|
2023-01-22 19:53:25 +00:00
|
|
|
recipeFetchCommand,
|
|
|
|
recipeLintCommand,
|
2021-07-21 08:58:13 +00:00
|
|
|
recipeListCommand,
|
2021-09-07 05:31:11 +00:00
|
|
|
recipeNewCommand,
|
2023-01-22 19:53:25 +00:00
|
|
|
recipeReleaseCommand,
|
2021-08-06 10:34:59 +00:00
|
|
|
recipeSyncCommand,
|
2023-01-22 19:53:25 +00:00
|
|
|
recipeUpgradeCommand,
|
|
|
|
recipeVersionCommand,
|
2021-07-21 08:58:13 +00:00
|
|
|
},
|
|
|
|
}
|