megachangelog
Feature

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 list to scan recent discussions in a repository
  • gh discussion view to read a discussion and its replies in the terminal
  • gh discussion create to start a new discussion
  • gh discussion edit to update an existing discussion
  • gh discussion comment to comment on a discussion

A terminal running gh discussion list showing discussions with their categories and answered status

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.

clidiscussionsfeature

Source: original entry ↗