Awiteb
5e4fb0ea7c
Reviewed-on: https://git.4rs.nl///awiteb/lprs/pulls/64 Co-authored-by: Awiteb <a@4rs.nl> Co-committed-by: Awiteb <a@4rs.nl>
24 lines
797 B
Markdown
24 lines
797 B
Markdown
# Listing all vaults
|
|
|
|
## Usage
|
|
|
|
```
|
|
Usage: lprs list [OPTIONS]
|
|
|
|
Options:
|
|
-f, --filter <TEXT> Filter the select list
|
|
-r, --regex Enable regex when use `--filter` option
|
|
--json Returns the output as `json` list of vaults
|
|
-h, --help Print help
|
|
```
|
|
|
|
Lprs `list` command is used to list all vaults in the vaults file, you can also
|
|
filter the list by using the `--filter` option, and you can enable regex by
|
|
using the `--regex` flag. Also you can get the output as `json` by using the
|
|
`--json` flag (this is useful when you want to use the output in a script and
|
|
work with it with `jq`).
|
|
|
|
|
|
### Examples
|
|
|
|
<script src="https://asciinema.org/a/eEVkDi0NroBjKNILg7KW3hSKY.js" id="asciicast-eEVkDi0NroBjKNILg7KW3hSKY" async="true" data-cols=48 data-rows=10></script>
|