forked from toolshed/abra
docs: chaos mode flag docs
This commit is contained in:
parent
4aae186f5f
commit
c5a7a831d2
@ -31,8 +31,11 @@ version of an existing deployed app, for this you need to look at the "abra app
|
|||||||
upgrade <app>" command.
|
upgrade <app>" command.
|
||||||
|
|
||||||
You may pass "--force" to re-deploy the same version again. This can be useful
|
You may pass "--force" to re-deploy the same version again. This can be useful
|
||||||
if the container runtime has gotten into a weird state or your doing some live
|
if the container runtime has gotten into a weird state.
|
||||||
hacking.
|
|
||||||
|
Chas mode ("--chaos") will deploy your local checkout of a recipe as-is,
|
||||||
|
including unstaged changes and can be useful for live hacking and testing new
|
||||||
|
recipes.
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
app := internal.ValidateApp(c)
|
app := internal.ValidateApp(c)
|
||||||
|
@ -28,11 +28,14 @@ var appRollbackCommand = &cli.Command{
|
|||||||
This command rolls an app back to a previous version if one exists.
|
This command rolls an app back to a previous version if one exists.
|
||||||
|
|
||||||
You may pass "--force/-f" to downgrade to the same version again. This can be
|
You may pass "--force/-f" to downgrade to the same version again. This can be
|
||||||
useful if the container runtime has gotten into a weird state or your doing
|
useful if the container runtime has gotten into a weird state.
|
||||||
some live hacking.
|
|
||||||
|
|
||||||
This action could be destructive, please ensure you have a copy of your app
|
This action could be destructive, please ensure you have a copy of your app
|
||||||
data beforehand - see "abra app backup <app>" for more.
|
data beforehand - see "abra app backup <app>" for more.
|
||||||
|
|
||||||
|
Chas mode ("--chaos") will deploy your local checkout of a recipe as-is,
|
||||||
|
including unstaged changes and can be useful for live hacking and testing new
|
||||||
|
recipes.
|
||||||
`,
|
`,
|
||||||
BashComplete: func(c *cli.Context) {
|
BashComplete: func(c *cli.Context) {
|
||||||
appNames, err := config.GetAppNames()
|
appNames, err := config.GetAppNames()
|
||||||
|
@ -32,11 +32,14 @@ opposed to "abra app deploy <app>" which will not change the version of a
|
|||||||
deployed app.
|
deployed app.
|
||||||
|
|
||||||
You may pass "--force/-f" to upgrade to the same version again. This can be
|
You may pass "--force/-f" to upgrade to the same version again. This can be
|
||||||
useful if the container runtime has gotten into a weird state or your doing
|
useful if the container runtime has gotten into a weird state.
|
||||||
some live hacking.
|
|
||||||
|
|
||||||
This action could be destructive, please ensure you have a copy of your app
|
This action could be destructive, please ensure you have a copy of your app
|
||||||
data beforehand - see "abra app backup <app>" for more.
|
data beforehand - see "abra app backup <app>" for more.
|
||||||
|
|
||||||
|
Chas mode ("--chaos") will deploy your local checkout of a recipe as-is,
|
||||||
|
including unstaged changes and can be useful for live hacking and testing new
|
||||||
|
recipes.
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
app := internal.ValidateApp(c)
|
app := internal.ValidateApp(c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user