-
Notifications
You must be signed in to change notification settings - Fork 91
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
Enhance extension to leverage gh auth
session
#26
Comments
Strangely that didn't happen to me. I wonder if it was using my |
@Chocrates : 🤔 that is a really good question, essentially:
That aside, |
This comment has been minimized.
This comment has been minimized.
|
Problem
One of the helpful aspects of GitHub CLI extensions is their ability to delegate authorization issues to be handled by
gh auth
. This allows interpreted and precompiled extensions to delegate this responsibility, focusing on the core functionality.With initially running the
gh-repo-stats
extension, it prompted and required a personal access token (PAT) when this was already setup via standard GH CLI methods.Request
It would be nice if the extension was enhanced in a way where it did not need my PAT explicitly. Looking at the underlying interpreted script, I think this might be doable if all of the
curl
calls were instead leveraginggh api
or othergh
subcommands itself.The text was updated successfully, but these errors were encountered: