Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ssbarnea opened this issue Jan 12, 2024 · 1 comment
Open

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

ssbarnea opened this issue Jan 12, 2024 · 1 comment

Comments

@ssbarnea
Copy link

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

@jph00
Copy link
Member

jph00 commented Mar 31, 2024

That sounds like a nice idea-- feel free to do a PR if you'd like to add it (add at-mention me if you do).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants