Skip to content

Add ability to read token reported by gh auth token #169

Description

@ssbarnea

As official github cli tool has a nice command that exposes its token, this could also be used as a fallback mechanism by ghapi instead of using the less safe environment variable approach.

See https://cli.github.com/manual/gh_auth_token

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions