gh discussion

Working with discussions in the GitHub CLI is in preview and subject to change without notice.

General commands

Targeted commands

Options

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

Examples

$ gh discussion list
$ gh discussion create --category "General" --title "Hello" --body "Hello World!"
$ gh discussion view 123

See also