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:
shadowdaoandClaude Sonnet 5.5 committed 2026-10-12 10:20:06 -07:00
1 parent 4cb3bda43a
commit ab4ed3c9e5
184 files changed
+934 -851

No files matched your search

@@ -36,22 +36,22 @@ func (c *LdapCommand) extraLdapHelpFunc(helpMap map[string]func() string) string
switch c.Func {
case "create":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary managed-groups create ldap [options] [args]",
"Usage: threshold managed-groups create ldap [options] [args]",
"",
" Create a ldap-type managed group. Example:",
"",
` $ boundary managed-groups create ldap -group-names admin -description "Ldap managed group for ProdOps"`,
` $ threshold managed-groups create ldap -group-names admin -description "Ldap managed group for ProdOps"`,
"",
"",
})
case "update":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary managed-groups update ldap [options] [args]",
"Usage: threshold managed-groups update ldap [options] [args]",
"",
" Update an ldap-type managed group given its ID. Example:",
"",
` $ boundary managed-groups update ldap -id acctldap_1234567890 -name "devops" -description "Ldap managed group for DevOps"`,
` $ threshold managed-groups update ldap -id acctldap_1234567890 -name "devops" -description "Ldap managed group for DevOps"`,
"",
"",
})
@@ -137,7 +137,7 @@ func (c *LdapCommand) Run(args []string) int {
case "create":
if c.FlagAuthMethodId == "" {
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or BOUNDARY_AUTH_METHOD_ID"))
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or THRESHOLD_AUTH_METHOD_ID"))
return base.CommandUserError
}
@@ -151,7 +151,7 @@ func (c *Command) Run(args []string) int {
case "list":
if c.FlagAuthMethodId == "" {
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or BOUNDARY_AUTH_METHOD_ID"))
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or THRESHOLD_AUTH_METHOD_ID"))
return base.CommandUserError
}
@@ -37,22 +37,22 @@ func (c *OidcCommand) extraOidcHelpFunc(helpMap map[string]func() string) string
switch c.Func {
case "create":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary managed-groups create oidc [options] [args]",
"Usage: threshold managed-groups create oidc [options] [args]",
"",
" Create a oidc-type managed group. Example:",
"",
` $ boundary managed-groups create oidc -filter '"/token/email" == "doe@example.com"' -description "Oidc managed group for ProdOps"`,
` $ threshold managed-groups create oidc -filter '"/token/email" == "doe@example.com"' -description "Oidc managed group for ProdOps"`,
"",
"",
})
case "update":
helpStr = base.WrapForHelpText([]string{
"Usage: boundary managed-groups update oidc [options] [args]",
"Usage: threshold managed-groups update oidc [options] [args]",
"",
" Update a oidc-type managed group given its ID. Example:",
"",
` $ boundary managed-groups update oidc -id acctoidc_1234567890 -name "devops" -description "Oidc managed group for DevOps"`,
` $ threshold managed-groups update oidc -id acctoidc_1234567890 -name "devops" -description "Oidc managed group for DevOps"`,
"",
"",
})
@@ -137,7 +137,7 @@ func (c *OidcCommand) Run(args []string) int {
case "create":
if c.FlagAuthMethodId == "" {
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or BOUNDARY_AUTH_METHOD_ID"))
c.PrintCliError(errors.New("AuthMethod ID must be passed in via -auth-method-id or THRESHOLD_AUTH_METHOD_ID"))
return base.CommandUserError
}