Lastpass Cli Helpers

1 minute read Published:

lpass is a lastpass cli client with a lot of subcommands and options to do a lot of things which are hard to remember. Based on my day-to-day usage of it, I created a set of bash functions to simplify the usage. An up-to-date version of the functions can be found here. There are four functions: lpget() to get the password of a given site. $ lpget copied secret to clipboard lpuser() to get the username of a given site.