sociomantic-tsunami / git-hub

Git command line interface to GitHub
GNU General Public License v3.0
127 stars 45 forks source link

Add option to retrieve oauthtoken from a password store (take 2) #283

Closed llucax closed 3 years ago

llucax commented 3 years ago

This PR is an improvement over @eonpatapon's https://github.com/sociomantic-tsunami/git-hub/pull/277 (thanks!).

It re-uses oauthtoken instead of adding a new config option. If it starts with a ! then it is interpreted as a command to run get the token instead of the plain text token.