Closed afeld closed 10 years ago
I'll take this one, sounds like fun :smile:
@afeld right now on my branch if the user doesn't enter a token or password they are given a menu.
Please choose whether to give your password or GitHub token
1. Password
2. Token
From there, it will give them a hidden prompt to enter in the credentials.
Is this functionality you were looking for?
For users who might not want their password/token in their command history,
--password
/--token
without a value should give a prompt that hides the input.http://stackoverflow.com/questions/2338889/how-to-hide-password-input-from-terminal-in-ruby-script