sincecutoff.com
← all changes

gh discussion preview command set

Introduced 2026-06-10 · score 0.98

HOW TO USE IT

When reviewing or maintaining repository discussions from the CLI, use `gh discussion` to list, view, create, edit, comment on, or reply to a discussion. Run `gh discussion --help` for command details.

gh discussion list
gh discussion view 123 --comments
gh discussion comment <url>

WHY THIS HELPS

When reviewing or maintaining repository discussions from the CLI, list, view, create, edit, comment on, or reply to a discussion.

REQUIREMENTS AND LIMITATIONS

  • Version: v2.94.0
  • Availability: Preview; subject to change without notice.
  • discussion number (required): Discussion identifier for the documented view, edit, or comment examples.
  • --comments: View discussion comments; for replies to a comment, pass the comment URL instead.
  • comment URL (required): Use the comment URL to reply to that comment.
  • Prerequisite: Authenticate with `gh auth login` or provide `GITHUB_TOKEN`.
  • Docs conflict: The current manual documents additional identifiers and operations for `gh discussion view` and `comment`, including comment IDs and editing or deleting comments. These are broader than the v2.94.0 release note; this card uses the release-note examples.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card