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

Added support for getting authentication token from environment variables as well #1

Merged
merged 5 commits into from
Nov 16, 2024

Conversation

aster-mnch
Copy link
Owner

@aster-mnch aster-mnch changed the title feat: modify to get auth from args or env Added support for getting authentication token from environment variables as well. Nov 16, 2024
@aster-mnch aster-mnch changed the title Added support for getting authentication token from environment variables as well. Added support for getting authentication token from environment variables as well Nov 16, 2024
@aster-mnch aster-mnch merged commit db8bb78 into main Nov 16, 2024
3 checks passed
@aster-mnch aster-mnch deleted the get-auth-from-env branch November 16, 2024 10:04
aster-mnch added a commit that referenced this pull request Nov 16, 2024
… variables as well (#1)

* chore(deps): add std-env to hadnle env variable

* feat(cli): modify to get auth from args or env

* fix: make auth token mandatory

Cuz GitHub GraphQL API requires an authentication token.

ref: https://docs.github.com/en/enterprise-cloud@latest/graphql/guides/forming-calls-with-graphql#authenticating-with-a-personal-access-token

* docs: fix the auth token descriptions

* refactor: run fmt
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

Successfully merging this pull request may close these issues.

1 participant