You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Usage
79
79
-e --encrypt Encrypt the current database
80
80
-U --use-db <path> Set as active database
81
81
-d --decrypt <path> Decrypt password database
82
-
-C --copy<id> Copy an entry
82
+
-C --clone <id> Clone an entry
83
83
-R --remove <id> Remove an entry
84
84
-A --add Add a new entry
85
85
-I --init <path> Initialize a new database
@@ -99,6 +99,7 @@ Usage
99
99
100
100
FLAGS:
101
101
102
+
-c --copy Copy password to clipboard
102
103
-s --show Show passwords when listing entries
103
104
104
105
@@ -194,9 +195,9 @@ For more on listing see the [Listing and Searching](#listing-and-searching) sect
194
195
195
196
(*-s* turns on visible passwords)
196
197
197
-
## Copy an entry
198
+
## Clone an entry
198
199
199
-
To copy or clone an entry,
200
+
To clone (copy) an entry,
200
201
201
202
$ $ varuh -C 1
202
203
Cloned to new entry, id: 2
@@ -382,6 +383,12 @@ By default the listing is in ascending ID order. This can be changed in the conf
382
383
383
384
To turn on visible passwords, modify the configuration setting (see below) or use the `-s` flag.
384
385
386
+
## Copy password to clipboard
387
+
388
+
To copy a password to clipboard, use the `-c` or `--copy` flag. This works *only if* the result for a listing is single. For example this will work when listing an entry by id or when a search results in a single hit. It *will not work* when listing all entries or when a search results in multiple hits.
389
+
390
+
This is useful to copy the password to a password input field in the browser for example.
0 commit comments