update information about addpass

This commit is contained in:
Rasmus Steinke 2015-08-21 19:19:20 +02:00
parent a591211f7c
commit 3ac7791a7e

View File

@ -43,9 +43,12 @@ rofi-pass comes with a tiny helper script, which makes it easier to create new p
Just run it with
```
addpass -name "My new Site" -user "zeltak" -branch "branch" -custom "foobar" -CustomOrder "branch :tab user :tab pass"`.
addpass --name "My new Site" +user "zeltak" +branch "branch" +custom "foobar" +autotype "branch :tab user :tab pass"`.
```
You can add as many fields as needed. fieldnames are defined with `-` and the actual value is defined inside the quotations.
* First argument `--name` is mandatory. This will be the filename of the new password entry.
* Second argument can be `--root` followed by absolute filename. addpass also uses root config setting from rofi-pass config file. If both are not found, PASSWORD_STORE_DIR variable is checked. If none of the above are found, the default location `$HOME/.password-store` is used.
* Fieldnames are defined with `+` and the actual value is defined inside the quotations. You can add as many fields as you like
Also included is an import script for keepass2 databases. It's the same script that can be downloaded from the pass homepage, with some minor modifications to match rofi-pass structure.