Command line usage
This section provides a reference for the various commands and options that are
available in the lprs
command line tool, and how to use them.
But before we dive into the commands, let's take a look at the lprs
main
options, which are available for all commands.
Options:
-f, --vaults-file <VAULTS_FILE> The vaults json file
-v, --verbose Show the logs in the stdout
-m, --master-password <MASTER_PASSWORD> The master password, or you will prompt it
-h, --help Print help
-V, --version Print version
As you can see, the lprs
command line tool has a few options that are
available for all commands, which are:
-f, --vaults-file <VAULTS_FILE>
: The vaults json file, this is the file where the vaults are stored. By default, the vaults are stored in the program's directory, in a directory calledlprs
and the file calledvaults.lprs
.-v, --verbose
: Show the logs in the stdout, this option is useful for debugging purposes.-m, --master-password <MASTER_PASSWORD>
: The master password, this is the password that is used to encrypt and decrypt the vaults, usful for scripting purposes, otherwise you will be prompted for the master password (which is better for security reasons)
Now let's take a look at the available commands and how to use them.
- Adding a vault
- Removing a vault
- Editing a vault
- Getting a vault
- Listing all vaults
- Clening the vaults
- Generating a password
- Importing and exporting vaults
- Changing the master password
- Auto completion
Donations
You can support the development of my projects by donating me, check out my profile at git.4rs.nl