Describe the feature or problem you’d like to solve
The GraphQL API supports creating repos as "Internal" for plans that support it, but it is not currently implemented in the cli.
Proposed solution
I propose we add a new repoCreateCmd flag called internal here and default it to false. We can then update the logic here to add support for internal visibility. My recommendation would be to add the check for internal between PRIVATE and PUBLIC so the visibility is descending. i.e. If a user submits both the public and internal flags, the repo will be public. If they submit neither, it will still be private.
Additional context
If approved, I'd be happy to open a PR implementing this.
Describe the feature or problem you’d like to solve
The GraphQL API supports creating repos as "Internal" for plans that support it, but it is not currently implemented in the cli.
Proposed solution
I propose we add a new
repoCreateCmdflag calledinternalhere and default it tofalse. We can then update the logic here to add support for internal visibility. My recommendation would be to add the check for internal betweenPRIVATEandPUBLICso the visibility is descending. i.e. If a user submits both the public and internal flags, the repo will be public. If they submit neither, it will still be private.Additional context
If approved, I'd be happy to open a PR implementing this.