Skip to content

Allow using --disable-issues when creating a repo from a template #7934

@utouto97

Description

@utouto97

Describe the feature or problem you’d like to solve

Similar to #6844
Currently, if you use the --template option when creating a repository with gh repo create, you get an error if you include the --disable-issues option.

Proposed solution

Remove this limitation so we can disable issues.
In #7886, added additional graphql request to disable wikis when creating repo from template.
This request is updateRepository and updateReposity gets params to disable issues.
(https://docs.github.com/en/graphql/reference/input-objects#updaterepositoryinput)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-reporelating to the gh repo commandhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions