Rebrand user-visible CLI text; add legacy fallbacks for keyring, cache dir and version prefix
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4cb3bda43a
commit
ab4ed3c9e5
184 files changed
+934
-851
No files matched your search
@@ -23,37 +23,37 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string {
|
||||
switch c.Func {
|
||||
case "":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary auth-methods [sub command] [options] [args]",
|
||||
"Usage: threshold auth-methods [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows operations on Boundary auth method resources. Example:",
|
||||
" This command allows operations on Threshold auth method resources. Example:",
|
||||
"",
|
||||
" Read an auth method:",
|
||||
"",
|
||||
` $ boundary auth-methods read -id ampw_1234567890`,
|
||||
` $ threshold auth-methods read -id ampw_1234567890`,
|
||||
"",
|
||||
" Please see the auth-methods subcommand help for detailed usage information.",
|
||||
})
|
||||
case "create":
|
||||
helpStr = base.WrapForHelpText([]string{
|
||||
"Usage: boundary auth-methods create [type] [sub command] [options] [args]",
|
||||
"Usage: threshold auth-methods create [type] [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows create operations on Boundary auth method resources. Example:",
|
||||
" This command allows create operations on Threshold auth method resources. Example:",
|
||||
"",
|
||||
" Create a password-type auth method:",
|
||||
"",
|
||||
` $ boundary auth-methods create password -name prodops -description "For ProdOps usage"`,
|
||||
` $ threshold auth-methods create password -name prodops -description "For ProdOps usage"`,
|
||||
"",
|
||||
" Please see the typed subcommand help for detailed usage information.",
|
||||
})
|
||||
case "update":
|
||||
helpStr = base.WrapForHelpText([]string{
|
||||
"Usage: boundary auth-methods update [type] [sub command] [options] [args]",
|
||||
"Usage: threshold auth-methods update [type] [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows update operations on Boundary auth method resources. Example:",
|
||||
" This command allows update operations on Threshold auth method resources. Example:",
|
||||
"",
|
||||
" Update a password-type auth method:",
|
||||
"",
|
||||
` $ boundary auth-methods update password -id ampw_1234567890 -name devops -description "For DevOps usage"`,
|
||||
` $ threshold auth-methods update password -id ampw_1234567890 -name devops -description "For DevOps usage"`,
|
||||
"",
|
||||
" Please see the typed subcommand help for detailed usage information.",
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user