Commit d91d261
[cli] Auto-detect fine-grained GitHub PATs by prefix
Tokens starting with 'github_pat_' are now automatically recognized as fine-grained personal access tokens, eliminating the need to use the --fg-token flag. The --fg-token flag is still supported for backwards compatibility, but users can now simply use --token or the GITHUB_TOKEN environment variable with fine-grained PATs.
This enhancement improves the user experience by reducing the need to remember which flag to use based on the token type.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 9790345 commit d91d261
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
0 commit comments