The LastPass command line application makes it easier for you to get to data stored in LastPass on the terminal on Mac, Linux, and Windows under Cygwin. And brings both better security and convenience by allowing you to access, add, modify, and delete entries in your online LastPass vault, all from the terminal. You can also generate passwords for every server you use and securely store those passwords directly in LastPass. LastPass Enterprise features are supported as well, including Shared Folders. Find detailed information in the CLI knowledgebase.
The command line application is hosted on Github at: https://github.com/LastPass/lastpass-cli
Report issues at https://github.com/LastPass/lastpass-cli/issues.