docs(discussion): polish help docs by babakks · Pull Request #13632 · cli/cli · GitHub
Skip to content

docs(discussion): polish help docs#13632

Merged
babakks merged 2 commits into
trunkfrom
babakks/fix-discussion-docs
Jun 10, 2026
Merged

docs(discussion): polish help docs#13632
babakks merged 2 commits into
trunkfrom
babakks/fix-discussion-docs

Conversation

@babakks

@babakks babakks commented Jun 10, 2026

Copy link
Copy Markdown
Member

Minor changes to polish discussion command docs.

Signed-off-by: Babak K. Shandiz <babakks@github.com>
Copilot AI review requested due to automatic review settings June 10, 2026 22:11
@babakks babakks requested a review from a team as a code owner June 10, 2026 22:11
@babakks babakks requested a review from BagToad June 10, 2026 22:11
@babakks babakks enabled auto-merge June 10, 2026 22:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Polishes the gh discussion help output by improving example usage and formatting flag references in the discussion create command’s long description.

Changes:

  • Updates the top-level gh discussion examples to include a --body for non-interactive discussion create.
  • Switches discussion create Long help text to heredoc.Docf to render flag names with backticks.
Show a summary per file
File Description
pkg/cmd/discussion/discussion.go Updates gh discussion help examples to include a non-interactive create with --body.
pkg/cmd/discussion/create/create.go Improves Long help formatting by using heredoc.Docf and backtick-wrapping referenced flags.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread pkg/cmd/discussion/create/create.go Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@babakks babakks disabled auto-merge June 10, 2026 22:14
@babakks babakks enabled auto-merge June 10, 2026 22:14
@babakks babakks merged commit 57b9b20 into trunk Jun 10, 2026
11 checks passed
@babakks babakks deleted the babakks/fix-discussion-docs branch June 10, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants