fb-messenger-cli
fb-messenger-cli copied to clipboard
Login Credentials via ENV Vars
I store my password in lastpass, which has its own CLI, its kind of a pain to login via the interactive login, it would be great to be able to login like so:
> FB_EMAIL=<my_email_address> FB_PASS=$(lpass show --password facebook) fb-messenger-cli
I too store my credentials in lastpass and would love to see this feature!
The other option to env vars would be just to add CLI arguments:
fb-messenger-cli --user $(lpass show --username facebook) --password $(lpass show --password facebook)
I would like to see the option to store credentials too, either in a configuration file or environment variables or command line. I don't use lastpass, I just have the login written down in a file somewhere. It kind of defeats the purpose of this tool if I have to spend a few seconds copying and pasting my password on the command line, when Firefox will log me in automatically.