Skip to content
Commit 791de246 authored by Dan Nicholson's avatar Dan Nicholson
Browse files

Allow the token to be read from a file

Instead of specifying the token on the command line (and leaving it open
for easy snooping), allow the token to be read from a file. If no token
is specified on the command line, then the file at ~/.config/ghtoken
will be read. An alternate file can be specified with the
-t|--token-file option.

Syntax for the token file itself is simply the token string with only
leading and/or trailing whitespace as additional characters.
parent 8daa2136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment