docs: improve help for browse command

Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
ANKDDEV 2024-12-06 16:33:57 +03:00 committed by GitHub
parent 3e647385f7
commit 694e209142
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,8 +59,16 @@ func NewCmdBrowse(f *cmdutil.Factory, runF func(*BrowseOptions) error) *cobra.Co
}
cmd := &cobra.Command{
Long: "Open the GitHub repository, path inside it, commit, issue or pull request in the web browser.",
Short: "Open the repository, path inside it, issue or PR in the browser",
Short: "Open repositories, issues, pull requests, and more in the browser",
Long: heredoc.Doc(`
Transition from the terminal to the web browser to view and interact with:
- issues
- pull requests
- repository content
- repository profile
- repository settings
`),
Use: "browse [<number> | <path> | <commit-SHA>]",
Args: cobra.MaximumNArgs(1),
Example: heredoc.Doc(`