rdev-hackaton / GitHubTimeTracker

MIT License
5 stars 1 forks source link

Don't ask for password if token was given #48

Closed ffigiel closed 8 years ago

ffigiel commented 8 years ago

It's obvious when we're given the --token option, and in the interactive mode we could also guess whether the login string is a username or a token

ffigiel commented 8 years ago

Works fine enough for now, though in the future we could ask if the user wants to authenticate with a token or username+pass (or just read it and guess whether it's a token or username)