List, view, and create discussions in GitHub CLI
GitHub Discussions is now accessible through GitHub CLI with a new gh discussion command group, allowing users to browse, create, and update discussions from the command line.
GitHub Discussions now has a first-class home in GitHub CLI through the new gh discussion command group. This means you can browse, create, and update discussions right where you already work, without falling back to raw gh api calls.
The new command group covers the core workflows you reach for most:
gh discussion listto scan recent discussions in a repositorygh discussion viewto read a discussion and its replies in the terminalgh discussion createto start a new discussiongh discussion editto update an existing discussiongh discussion commentto comment on a discussion
Install or upgrade to GitHub CLI v2.94.0 to get started on any repository where GitHub Discussions is enabled.
Have feedback or found an issue? Open an issue in the cli/cli repository.
The post List, view, and create discussions in GitHub CLI appeared first on The GitHub Blog.
Source: original entry ↗
More from GitHub
Follow GitHub to get its new changes in your feed and email digest.
Claude Haiku 5.5 now available in GitHub Copilot
Claude Haiku 5.5, Anthropic's lightweight model, is now generally available in GitHub Copilot for fast, high-volume tasks like subagents, quick edits, and terminal operations.
Purpose-built model for leaked secret detection
GitHub introduced a new purpose-built model for detecting leaked secrets that provides context-aware detection to keep pace with modern software development practices, including AI-assisted coding.
Local sandboxing for GitHub Copilot now generally available
GitHub Copilot's local sandboxing feature is now generally available across GitHub Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host, providing developers with a secure environment for testing and development.