-
Notifications
You must be signed in to change notification settings - Fork 28
Change description for custom states (AST-80216) #1036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,8 +35,8 @@ func NewResultsPredicatesCommand(resultsPredicatesWrapper wrappers.ResultsPredic | |
| func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper) *cobra.Command { | ||
| triageGetStatesCmd := &cobra.Command{ | ||
| Use: "get-states", | ||
| Short: "Fetch and display custom states.", | ||
| Long: "Retrieves a list of custom states and prints their names.", | ||
| Short: "Show the custom states that have been configured in your tenant", | ||
| Long: "The get-states command shows information about each of the custom states that have been configured in your tenant account", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| Example: heredoc.Doc( | ||
| ` | ||
| $ cx triage get-states | ||
|
|
@@ -46,7 +46,7 @@ func triageGetStatesSubCommand(customStatesWrapper wrappers.CustomStatesWrapper) | |
| RunE: runTriageGetStates(customStatesWrapper), | ||
| } | ||
|
|
||
| triageGetStatesCmd.PersistentFlags().Bool(params.AllStatesFlag, false, "Include deleted states") | ||
| triageGetStatesCmd.PersistentFlags().Bool(params.AllStatesFlag, false, "Show all custom states, including the ones that have been deleted") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider rephrasing the flag description to maintain consistency with the existing style. For example, 'Include all custom states, even those that have been deleted.' |
||
|
|
||
| return triageGetStatesCmd | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider rephrasing the
Shortdescription to be more concise and consistent with command description conventions. For example:List configured custom states in the tenant.