cp8_cli
cp8_cli copied to clipboard
Simplify token input
Github's Hub can fetch a token after prompting the user for username and password.
$ hub api
github.com username: davidstosik
github.com password for davidstosik (never stored):
two-factor authentication code:
# ...
$ cat ~/.config/hub
github.com:
- user: davidstosik
oauth_token: CENSORED
protocol: https
Would be nice to have something similar, or maybe we could make direct use of the hub
command?
Does that automatically create a token on behalf of the user I wonder?
Does that automatically create a token on behalf of the user I wonder?
Yes! With only the permissions it needed.
Cool, sounds like a nice enhancement.