Stick this in ~/.netrc with chmod 600 or something.
You can curl the api as yourself with curl -n https://api.github.com/user
https://help.github.com/articles/creating-an-access-token-for-command-line-use/
machine github.com | |
login technoweenie | |
password SECRET | |
machine api.github.com | |
login technoweenie | |
password SECRET |
machine github.com | |
login <put-your-application-token-here> | |
password x-oauth-basic | |
Stick this in ~/.netrc with chmod 600 or something.
You can curl the api as yourself with curl -n https://api.github.com/user
https://help.github.com/articles/creating-an-access-token-for-command-line-use/