Command-line interface for the LastPass password manager. More information: https://github.com/lastpass/lastpass-cli.
lpass login username
lpass status
lpass ls
myinbox
and add to LastPass:lpass generate --username username --url gmail.com myinbox password_length
lpass show myinbox --password