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
@@ -61,33 +61,33 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string {
|
||||
|
||||
case "add-members":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary groups add-members [options] [args]",
|
||||
"Usage: threshold groups add-members [options] [args]",
|
||||
"",
|
||||
` Adds members (users) to a group given its ID. The "member" flag can be specified multiple times. Example:`,
|
||||
"",
|
||||
` $ boundary groups add-members -id g_1234567890 -member u_1234567890`,
|
||||
` $ threshold groups add-members -id g_1234567890 -member u_1234567890`,
|
||||
"",
|
||||
"",
|
||||
})
|
||||
|
||||
case "set-members":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary groups set-members [options] [args]",
|
||||
"Usage: threshold groups set-members [options] [args]",
|
||||
"",
|
||||
` Sets the complete set of members (users) on a group given its ID. The "member" flag can be specified multiple times. Example:`,
|
||||
"",
|
||||
` $ boundary groups set-principals -id g_1234567890 -member u_anon -member u_1234567890`,
|
||||
` $ threshold groups set-principals -id g_1234567890 -member u_anon -member u_1234567890`,
|
||||
"",
|
||||
"",
|
||||
})
|
||||
|
||||
case "remove-members":
|
||||
return base.WrapForHelpText([]string{
|
||||
"Usage: boundary groups remove-members [options] [args]",
|
||||
"Usage: threshold groups remove-members [options] [args]",
|
||||
"",
|
||||
` Removes members (users) from a group given its ID. The "member" flag can be specified multiple times. Example:`,
|
||||
"",
|
||||
` $ boundary groups remove-members -id g_1234567890 -member u_1234567890`,
|
||||
` $ threshold groups remove-members -id g_1234567890 -member u_1234567890`,
|
||||
"",
|
||||
"",
|
||||
})
|
||||
|
||||
@@ -157,13 +157,13 @@ func (c *Command) Run(args []string) int {
|
||||
|
||||
case "create":
|
||||
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
|
||||
}
|
||||
|
||||
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