Skip to content

Conversation

Golenspade
Copy link

Add two GitHub CLI pages:

  • gh pr comment: basic usage with --body/--body-file/editor.
  • gh pr view: view PR details, open in browser, show files/comments.

All examples follow tldr style. Links point to the official manual.

Validation:

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Oct 6, 2025
@Managor Managor changed the title docs(gh): add gh pr comment and gh pr view tldr pages gh-pr-{comment, view}: add pages Oct 6, 2025
@Managor Managor mentioned this pull request Oct 6, 2025
35 tasks
…options

- Remove "Part of the GitHub CLI" line from both pages
- Update flags to show both short and long forms: [-b|--body], [-F|--body-file], [-w|--web], [-c|--comments]
- Remove quotes from file path in --body-file example
- Remove --files example (flag doesn't exist in gh pr view)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants