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
@@ -17,37 +17,37 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string {
|
||||
switch c.Func {
|
||||
case "":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary credential-libraries [sub command] [options] [args]",
|
||||
"Usage: threshold credential-libraries [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows operations on Boundary credential library resources. Example:",
|
||||
" This command allows operations on Threshold credential library resources. Example:",
|
||||
"",
|
||||
" Read a credential library:",
|
||||
"",
|
||||
` $ boundary credential-libraries read -id clvlt_1234567890`,
|
||||
` $ threshold credential-libraries read -id clvlt_1234567890`,
|
||||
"",
|
||||
" Please see the credential-libraries subcommand help for detailed usage information.",
|
||||
})
|
||||
case "create":
|
||||
helpStr = base.WrapForHelpText([]string{
|
||||
"Usage: boundary credential-libraries create [type] [sub command] [options] [args]",
|
||||
"Usage: threshold credential-libraries create [type] [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows create operations on Boundary credential library resources. Example:",
|
||||
" This command allows create operations on Threshold credential library resources. Example:",
|
||||
"",
|
||||
" Create a credential library:",
|
||||
"",
|
||||
` $ boundary credential-libraries create vault -credential-store-id csvlt_1234567890 -vault-path "/some/path"`,
|
||||
` $ threshold credential-libraries create vault -credential-store-id csvlt_1234567890 -vault-path "/some/path"`,
|
||||
"",
|
||||
" Please see the typed subcommand help for detailed usage information.",
|
||||
})
|
||||
case "update":
|
||||
helpStr = base.WrapForHelpText([]string{
|
||||
"Usage: boundary credential-libraries update [type] [sub command] [options] [args]",
|
||||
"Usage: threshold credential-libraries update [type] [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows update operations on Boundary credential library resources. Example:",
|
||||
" This command allows update operations on Threshold credential library resources. Example:",
|
||||
"",
|
||||
" Update a vault-type credential library:",
|
||||
"",
|
||||
` $ boundary credential-libraries update vault -id clvlt_1234567890 -name devops -description "For DevOps usage"`,
|
||||
` $ threshold credential-libraries update vault -id clvlt_1234567890 -name devops -description "For DevOps usage"`,
|
||||
"",
|
||||
" Please see the typed subcommand help for detailed usage information.",
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user