Restructure CLI Help Output with Improved Categorization#265
Merged
Conversation
Contributor
Author
|
I don't think test |
Member
I agree. This is broken and we should remove or hide for now, until we decide if we want to fix and bring it back. |
Member
|
Overall these seem very intuitive and good cleanliness changes to me |
Member
|
Awesome thanks for taking a pass at cleaning stuff up! Should we also hide
can we rename "workspace" -> "instance" to match naming on console? |
- Fix duplicate start command registration bug - Reorganize commands into semantic categories: - Workspace Commands: core workspace operations (create, start, stop, ls, etc.) - Workspace Access: tools for accessing workspaces (shell, open, copy, port-forward) - Organization Management: org-related commands with helpful subcommand hints - Configuration: settings, secrets, and account management - Quick Start: onboarding commands like ollama - Update command annotations from old categories (context, ssh, housekeeping) to new ones - Add inline tips and hints to guide users (e.g., 'Use brev org --help for subcommands') - Improve help text discoverability by showing common org subcommands in main help
- Move 'fu' command to hidden annotation (inappropriate name, dev-only) - Move 'env-vars' to hidden annotation (redundant with configure-env-vars) - These commands remain functional but won't appear in help text
- Move 'secret' command to hidden annotation (non-functional) - Command remains available but won't appear in help text
- Move 'ollama' command to hidden annotation (non-functional) - Removes 'Quick Start' section from help (no longer needed) - Command remains available but won't appear in help text
- Fix typo: 'pulic' -> 'public' in ssh-key description - Standardize capitalization: all descriptions start with capital letter - Capitalize proper nouns: Brev, SSH, CLI - Improve command descriptions for clarity - Remove misplaced org tip from workspace commands section - Remove detailed subcommand list from org help - Add inline tip to org command description
- Set org command to use default Cobra template instead of custom filtered template - Update annotations for org subcommands to use consistent 'orgsubcommand' annotation - This ensures all org subcommands (create, invite, ls, set) are visible when running 'brev org -h'
- Update Short descriptions to indicate they are aliases for 'brev org invite' and 'brev org set' - This makes it clearer to users that these are convenience shortcuts
- Capitalize first letter of --user flag description - Maintains consistency with command descriptions
- Define help flag manually to override Cobra's default lowercase description - Ensures consistency with 'Help for Brev' instead of 'help for brev'
fa7b0ad to
788c138
Compare
Contributor
Author
|
patelspratik
reviewed
Nov 3, 2025
patelspratik
previously approved these changes
Nov 3, 2025
Co-authored-by: Pratik Patel <patel.s.pratik@gmail.com>
patelspratik
approved these changes
Nov 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reorganizes the CLI help text into clearer, more intuitive semantic categories to improve command discoverability and user experience.
No breaking changes - All commands, flags, and functionality remain unchanged
Help text only - Changes are purely cosmetic to improve UX
Better discoverability - Users can more easily find relevant commands
secret,ollamaandstatuscommands because they don't workfuandenv-varscommandsBefore:
After: