How this works for people with existing OAuth tokens:
$ gh issue list -L1
Notice: additional authorization required
Press Enter to open github.com in your browser...
[auth flow in the browser...]
Authentication complete. Press Enter to continue...
Showing 1 of 132 issues in cli/cli
...
Users of Personal Access Tokens get a different notice:
Warning: gh now requires the `read:org` OAuth scope.
Visit https://github.com/settings/tokens and edit your token to enable `read:org`
or generate a new token and paste it via `gh config set -h github.com oauth_token MYTOKEN`
|
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| fake_http.go | ||
| pull_request_test.go | ||
| queries_issue.go | ||
| queries_issue_test.go | ||
| queries_org.go | ||
| queries_pr.go | ||
| queries_repo.go | ||
| queries_repo_test.go | ||