keepassxc-cli
Interface for KeePassXC. tldr-pages
On several platforms
Several platforms
Search entries
keepassxc-cli search path/to/database_file nameIdentifyList the contents of a folder
keepassxc-cli ls path/to/database_file path/to/directoryIdentifyAdd an entry with an auto-generated password
keepassxc-cli add --generate path/to/database_file entry_nameIdentifyDelete an entry
keepassxc-cli rm path/to/database_file entry_nameIdentifyCopy an entry's password to the clipboard
keepassxc-cli clip path/to/database_file entry_nameIdentifyCopy a TOTP code to the clipboard
keepassxc-cli clip --totp path/to/database_file entry_nameIdentifyGenerate a passphrase with 7 words
keepassxc-cli diceware --words 7IdentifyGenerate a password with 16 printable ASCII characters
keepassxc-cli generate --lower --upper --numeric --special --length 16Identify