forked from toolshed/abra
fix: include app arg in docs
Follow up to bd92c52eeda10ba97f6f3c94ea3f5ae8d57d993b.
This commit is contained in:
parent
ab02c5f0dd
commit
9b704b002b
@ -99,7 +99,7 @@ var appSecretInsertCommand = &cli.Command{
|
|||||||
Aliases: []string{"i"},
|
Aliases: []string{"i"},
|
||||||
Usage: "Insert secret",
|
Usage: "Insert secret",
|
||||||
Flags: []cli.Flag{internal.PassFlag},
|
Flags: []cli.Flag{internal.PassFlag},
|
||||||
ArgsUsage: "<secret-name> <version> <data>",
|
ArgsUsage: "<app> <secret-name> <version> <data>",
|
||||||
Description: `
|
Description: `
|
||||||
This command inserts a secret into an app environment.
|
This command inserts a secret into an app environment.
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ environment. Typically, you can let Abra generate them for you on app creation
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
abra app myapp secret insert db_pass v1 mySecretPassword
|
abra app secret insert myapp db_pass v1 mySecretPassword
|
||||||
|
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
@ -143,13 +143,13 @@ var appSecretRmCommand = &cli.Command{
|
|||||||
Usage: "Remove a secret",
|
Usage: "Remove a secret",
|
||||||
Aliases: []string{"rm"},
|
Aliases: []string{"rm"},
|
||||||
Flags: []cli.Flag{allSecretsFlag, internal.PassFlag},
|
Flags: []cli.Flag{allSecretsFlag, internal.PassFlag},
|
||||||
ArgsUsage: "<secret-name>",
|
ArgsUsage: "<app> <secret-name>",
|
||||||
Description: `
|
Description: `
|
||||||
This command removes a secret from an app environment.
|
This command removes a secret from an app environment.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
abra app myapp secret remove db_pass
|
abra app secret remove myapp db_pass
|
||||||
|
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user