Skip to content

Flag support for passing github username and password for creating repo #2708

@amitkrout

Description

@amitkrout

Describe the feature or problem you’d like to solve

A clear and concise description of what the feature or problem is.

Username is prompted when i am creating new repo using gh cli

[root@b991938b7cfe resources]# gh repo create gitops --private --confirm
✓ Created repository kamuser/gitops on GitHub
Username for 'https://github.com': 

Or is there a way to pass credentials non-interactively which i am missing ?

Proposed solution

How will it benefit CLI and its users?

It will be helpful in writing test script that uses non-interactive mode for passing inputs

Additional context

Add any other context like screenshots or mockups are helpful, if applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions