-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ Legend: | |
pw init <keychain> create keychain | ||
``` | ||
|
||
``` | ||
```bash | ||
pw init secrets.keychain-db | ||
pw init ~/secrets.kdbx | ||
pw init ~/secrets/ # end with `/` to create a directory for GnuPG | ||
|
@@ -101,7 +101,7 @@ pw init ~/secrets/ # end with `/` to create a directory for GnuPG | |
pw add <name> [<account>] add entry (leave password empty to generate one) | ||
``` | ||
|
||
``` | ||
```bash | ||
pw add GitHub | ||
pw add Google [email protected] | ||
pw add Google [email protected] | ||
|
@@ -110,14 +110,14 @@ pw add Google [email protected] | |
If a plugin doesn't support multiple entries with the same name, | ||
you can add the account to the name: | ||
|
||
``` | ||
```bash | ||
pw add "Google (Work)" [email protected] | ||
pw add "Google (Personal)" [email protected] | ||
``` | ||
|
||
## Add entry in group | ||
|
||
``` | ||
```bash | ||
pw add Coding/GitHub | ||
pw add Coding/JetBrains | ||
``` | ||
|
@@ -128,7 +128,7 @@ pw add Coding/JetBrains | |
pw edit [<name>] [<account>] edit entry (leave password empty to generate one) | ||
``` | ||
|
||
``` | ||
```bash | ||
pw edit # starts fzf to select an entry | ||
pw edit GitHub | ||
pw edit Google [email protected] | ||
|
@@ -142,7 +142,7 @@ pw [-p] no command copy (or print) password using fzf | |
pw [-p] <name> [<account>] copy (or print) password | ||
``` | ||
|
||
``` | ||
```bash | ||
pw # starts fzf to select an entry | ||
pw GitHub | ||
pw Google [email protected] | ||
|
@@ -155,7 +155,7 @@ pw Google [email protected] | |
pw rm [<name>] [<account>] remove entry | ||
``` | ||
|
||
``` | ||
```bash | ||
pw rm # starts fzf to select an entry | ||
pw rm GitHub | ||
pw rm Google [email protected] | ||
|
@@ -169,7 +169,7 @@ pw gen [<length>] [<class>] generate password with given length and | |
character class (default: 35 [:graph:]) | ||
``` | ||
|
||
``` | ||
```bash | ||
pw gen | ||
pw gen 16 | ||
pw gen 24 '[:alnum:]' | ||
|