Skip to content

Improve discoverability of active accounts in gh auth status #8832

@jsoref

Description

@jsoref

Describe the feature or problem you’d like to solve

Apparently gh auth switch exists, but there doesn't appear to be any easy way to determine which accounts are available

Proposed solution

add gh auth list -- see also gcloud auth list

This would allow for a more natural flow for users -- no need for them to guess how gh auth switch will behave or whether they need to use gh auth login.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-authrelating to the gh auth commandhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions