Closed dodalovicgran closed 2 months ago
Hello, this program supports the --password-stdin
argument.
Example usage:
echo "mySecretPassword" | cotp --password-stdin
Of course you can use any password manager to get your passcode, so you could create an alias to your.zshrc
(or whetever you use) like this example:
alias cotp="pass personal/cotp | cotp --password-stdin"
Closing this issue. Feel free to reopen if the solution does not work.
Thank you, it works with the alias, I can live with it :)
Hi, I was thinking - I'm lazy to type the password each time I run the app. Maybe the app could read some env var, if there's one?
Kind regards Dusan