Skip to content

005. CLI Plan

Alex Hagl edited this page Nov 21, 2023 · 4 revisions

Not logged in

Command Description
pw help Help text
pw generate [-c|--custom] Generate random Password (if the custom flag is specified, give a criteria dialog)
pw init Create a new database. Gives a dialog for directory and user configuration
pw login [-u|--username "username"] [-d|--directory "directory"] Login specified user. Results in a password dialog (default: last logged in user in last used database file)

Logged in

after login a command prompt like this appears: (username (group-name) $)

Command Description
help Display a help text
group Gives a selection dialog to either create a new group, switch current group, delete a group or list all groups
new Creates a new account in the current group. Opens a dialog for input
list List all accounts in the current group
get ["search string"] Search for an account by identifier. If multiple accounts match, one can be selected. The selected account can be copied (loginname or password), updated or deleted
settings Open the settings dialog
delete-database Delete the users database (Needs password confirmation)
quit Quit the application
Clone this wiki locally