aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-06-13 16:17:22 +0000
committerJoursoir <chat@joursoir.net>2021-06-13 16:17:22 +0000
commite91d24bd46e67a1b99bb7277eb00102ffb5ede7e (patch)
tree8ecb3b4fbd47efb0632c079af5c037243ee18b28 /README.md
parent4397555dc22a77c6c2d227a4ae23d0ff144eeebb (diff)
downloadlock-password-e91d24bd46e67a1b99bb7277eb00102ffb5ede7e.tar.gz
lock-password-e91d24bd46e67a1b99bb7277eb00102ffb5ede7e.tar.bz2
lock-password-e91d24bd46e67a1b99bb7277eb00102ffb5ede7e.zip
update man and readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index afe3b72..71d902f 100644
--- a/README.md
+++ b/README.md
@@ -16,13 +16,15 @@ sudo make install
```
## Synopsis:
-lpass [command] [options]
+**lpass** *command* [*options*]
## Commands:
### init *gpg-key*
Initialize the password manager using the passed *gpg-key* as the encryption key. This command must be run first before you start working with LockPassword.
### insert [**-e, --echo**] [**-c, --copy**] [**-f, --force**] *passname*
Add the specified *passname* to the password manager. The password will be read interactively using standard input, character display is hidden. The **-e, --echo** argument enable the show of characters when typing a password; **-c, --copy** write password to clipboard; **-f, --force** ignore exist of *passname*, overwrites it without prompt.
+### show [**-c, --copy**] [**-C, --no-color**] [*passname*]
+If no *passname* is specified, *passname* will assign root of password manager tree. If *passname* is directory, list names of passwords inside the at *passname*. Otherwise decrypt and print a password of *passname*. The **-c, --copy** write password to clipboard; **-C, --no-color** cancel colorize the output.
### edit *passname*
Open the specified *passname* in a text editor, waiting for changes. The text editor specified in the environment variable EDITOR or vi(1) is used. Temporary file for password editing locate in tmpfs / ramfs (we expect that it to be mounted at /dev/shm).
### generate [**-l, --length=pass-length**] [**-c, --copy**] [**-f, --force**] *passname*
@@ -57,7 +59,7 @@ Password added successfully for games/chess/user
* Print a list of exists password:
```
-$ lpass
+$ lpass show
Password Manager
|-- banks
| |-- abankpro
@@ -72,7 +74,7 @@ Password Manager
* Print a list of exists password in some directory:
```
-$ lpass banks
+$ lpass show banks
Password Manager/banks
|-- abankpro
| `-- phone_number
@@ -82,13 +84,13 @@ Password Manager/banks
* Show password:
```
-$ lpass games/iko/LordOfNight
+$ lpass show games/iko/LordOfNight
helloitismypassword123
```
* Copy password to clipboard:
```
-$ lpass -c games/iko/LordOfNight
+$ lpass show -c games/iko/LordOfNight
```
* Generate password: