All apps/LastPass CLI

LastPass CLI

lastpass-cli

Command line interface for LastPass.

Runs as lpass|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 14 fields

Show or list vault entries. Add, edit, delete, export and sharing commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui lastpass-cli

lpass show

Show an entry

Print an entry or one of its fields; output goes to the terminal unless copied.

Show an entryExample values, fixed in this page — nothing here reaches a terminal
Basic
Entry name or ID*
string
Password only
--password
Copy to clipboard
--clip
TasksEach one presets the form for one job
Copy password
namepasswordclip
ParametersOnly these flags are editable in the form
Entry name or ID
string · positional 0
Password only
boolean
--password
Username only
boolean
--username
URL only
boolean
--url
Notes only
boolean
--notes
Named field
string
--field
Copy to clipboard
boolean
--clip-c
JSON output
boolean
--json-j

lpass ls

List entries
List entriesExample values, fixed in this page — nothing here reaches a terminal
Basic
Group
string
Show modification time
--long
ParametersOnly these flags are editable in the form
Group
string · positional 0
Show modification time
boolean
--long-l

lpass generate

Generate a password
Generate a passwordExample values, fixed in this page — nothing here reaches a terminal
Basic
Entry name or ID*
string
Length*
integer
No symbols
--no-symbols
Copy to clipboard
--clip
TasksEach one presets the form for one job
Generate and save
namelengthno_symbolsclip
ParametersOnly these flags are editable in the form
Entry name or ID
string · positional 0
Length
integer · positional 1
No symbols
boolean
--no-symbols
Copy to clipboard
boolean
--clip-c
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed lpass against its version. A form that does not match your version is not offered.