feat: lazysecrets open --action ends in the secrets list, like Go to
This commit is contained in:
4 files changed
+48
-16
No files matched your search
+4
-2
@@ -121,7 +121,8 @@ account) and jumps to it, asking which account to use when several can see
|
||||
it, ending on a secret's details as `enter` on it would. Links say what,
|
||||
not what to do: opening a link to a secret asks whether to just go to it,
|
||||
also copy or show its value, or (`y`) copy its value without going there.
|
||||
`lazysecrets open --action go|copy|show <link>` does one without asking,
|
||||
`lazysecrets open --action go|copy|show <link>` does one without asking
|
||||
and ends in the list, like Go to,
|
||||
and `--account <account>` picks the account (as [`list`](#listing-for-fzf-and-pickers)
|
||||
prints it) when several can see it.
|
||||
|
||||
@@ -175,7 +176,8 @@ when several of yours can see it: without, `open` asks which, and `get`
|
||||
tries the one that last read it first. The link stays as it is, to copy
|
||||
and share; the account isn't part of it. `--action` tells `open` what to
|
||||
do rather than asking, as it does for a link clicked elsewhere: `go` to
|
||||
it, `copy` its value too, or `show` it.
|
||||
it, `copy` its value too, or `show` it. It ends in the secrets list, like
|
||||
Go to, rather than on the details as a clicked link does.
|
||||
|
||||
What's [cached](config.md#cache) prints at once. Then, like Go to, it loads
|
||||
what's missing or older than `--max-age` (2m), and what's new in it follows
|
||||
|
||||
Reference in new issue
Block a user