Folkwise-io / mintbean-cli

MIT License
13 stars 9 forks source link

github token should be asked for privately. #39

Open monarchwadia opened 4 years ago

monarchwadia commented 4 years ago

Describe the bug mint config -t requires that you paste your token in plain text. this is a security issue, akin to asking for a user's password in plain text. it gets stored in your CLI history. Instead, it should be asked for through a password entry field.

To Reproduce Steps to reproduce the behavior: mint config -t Output: error: option '-t, --token <token>' argument missing

Expected behavior Inputting a token as an argument as above should be banned. Instead, ask for the token using password-style input where it doesn't echo the password while typing.

Screenshots If applicable, add screenshots to help explain your problem. image image

nachiket87 commented 3 years ago

I'm working on this. Image of Fix