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
@@ -62,24 +62,24 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string {
|
||||
switch c.Func {
|
||||
case "":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary sessions [sub command] [options] [args]",
|
||||
"Usage: threshold sessions [sub command] [options] [args]",
|
||||
"",
|
||||
" This command allows operations on Boundary sessions.",
|
||||
" This command allows operations on Threshold sessions.",
|
||||
"",
|
||||
" Read a session:",
|
||||
"",
|
||||
` $ boundary sessions read -id s_1234567890`,
|
||||
` $ threshold sessions read -id s_1234567890`,
|
||||
"",
|
||||
" Please see the sessions subcommand help for detailed usage information.",
|
||||
})
|
||||
|
||||
case "cancel":
|
||||
helpStr = base.WrapForHelpText([]string{
|
||||
"Usage: boundary sessions cancel [options] [args]",
|
||||
"Usage: threshold sessions cancel [options] [args]",
|
||||
"",
|
||||
" Cancel the session specified by ID. If the session is already canceled, this command succeeds with no effect. Example:",
|
||||
"",
|
||||
` $ boundary sessions cancel -id s_1234567890`,
|
||||
` $ threshold sessions cancel -id s_1234567890`,
|
||||
"",
|
||||
"",
|
||||
})
|
||||
|
||||
@@ -148,7 +148,7 @@ func (c *Command) Run(args []string) int {
|
||||
|
||||
case "list":
|
||||
if c.FlagScopeId == "" {
|
||||
c.PrintCliError(errors.New("Scope ID must be passed in via -scope-id or BOUNDARY_SCOPE_ID"))
|
||||
c.PrintCliError(errors.New("Scope ID must be passed in via -scope-id or THRESHOLD_SCOPE_ID"))
|
||||
return base.CommandUserError
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user