forked from toolshed/abra
Semi-automated mass string commenting
This commit is contained in:
@ -25,6 +25,7 @@ import (
|
||||
)
|
||||
|
||||
var AppSecretGenerateCommand = &cobra.Command{
|
||||
// translators: `app secret generate` command
|
||||
Use: i18n.G("generate <domain> [[secret] [version] | --all] [flags]"),
|
||||
Aliases: []string{i18n.G("g")},
|
||||
Short: i18n.G("Generate secrets"),
|
||||
@ -145,6 +146,7 @@ var AppSecretGenerateCommand = &cobra.Command{
|
||||
}
|
||||
|
||||
var AppSecretInsertCommand = &cobra.Command{
|
||||
// translators: `app secret insert` command
|
||||
Use: i18n.G("insert <domain> <secret> <version> [<data>] [flags]"),
|
||||
Aliases: []string{i18n.G("i")},
|
||||
Short: i18n.G("Insert secret"),
|
||||
@ -318,6 +320,7 @@ func secretRm(cl *dockerClient.Client, app appPkg.App, secretName, parsed string
|
||||
}
|
||||
|
||||
var AppSecretRmCommand = &cobra.Command{
|
||||
// translators: `app secret remove` command
|
||||
Use: i18n.G("remove <domain> [[secret] | --all] [flags]"),
|
||||
Aliases: []string{i18n.G("rm")},
|
||||
Short: i18n.G("Remove a secret"),
|
||||
@ -431,6 +434,7 @@ match those configured in the recipe beforehand.`),
|
||||
}
|
||||
|
||||
var AppSecretLsCommand = &cobra.Command{
|
||||
// translators: `app secret list` command
|
||||
Use: i18n.G("list <domain>"),
|
||||
Aliases: []string{i18n.G("ls")},
|
||||
Short: i18n.G("List all secrets"),
|
||||
@ -506,6 +510,7 @@ var AppSecretLsCommand = &cobra.Command{
|
||||
}
|
||||
|
||||
var AppSecretCommand = &cobra.Command{
|
||||
// translators: `app secret` command group
|
||||
Use: i18n.G("secret [cmd] [args] [flags]"),
|
||||
Aliases: []string{i18n.G("s")},
|
||||
Short: i18n.G("Manage app secrets"),
|
||||
|
Reference in New Issue
Block a user