Skip to content

Support Discussion Templates #14015

Description

@jamietanna

Describe the feature or problem you’d like to solve

In a similar vein to #5865, we should support Discussion Templates in the newly added gh discussion create subcommand.

This would make it easier to work with repositories that have strict templates, as without it, the gh discussion create subcommand only provides free-text entry, which breaks adherence to the templates.

Proposed solution

Users who interact with projects with Discussion Templates will receive a fully guided experience to filling in their Discussion.

Additional context

I've previously built this in https://github.com/jamietanna/gh-discussion (which now is being shadowed by the GitHub CLI's upstream support for gh discussion.

A screen recording of my extension shows an interactive example of it working.

Raised as a follow-up to #9644

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-discussionrelating to the gh discussion commandneeds-investigationCLI team needs to investigate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions