help: list every command (add keep, pb, and the other/help/quit line)

keep <n> (keep a listed ls/gen entry by its left-column index), pb <command> (copy a
command's output to the clipboard), and a final line for help / # comments / quit were
missing. cargo test green; rebuilt wasm.
This commit is contained in:
Oleksandr Kozachuk
2026-06-10 00:07:59 +02:00
parent eef2104f25
commit ebb09c7cb9
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -152,6 +152,7 @@ impl<'a> LKEval<'a> {
"\n", "\n",
"entries\n", "entries\n",
" add <name> [len][mode] [seq] [date] [text] [^parent] define an entry\n", " add <name> [len][mode] [seq] [date] [text] [^parent] define an entry\n",
" keep <n> keep list entry n (left column of ls/gen) in the catalog\n",
" ls [regex] list by name ld [regex] list by date\n", " ls [regex] list by name ld [regex] list by date\n",
" mv <name> <new> rename / move rm <name> remove\n", " mv <name> <new> rename / move rm <name> remove\n",
" comment <name> [text] set or clear the comment\n", " comment <name> [text] set or clear the comment\n",
@@ -159,6 +160,7 @@ impl<'a> LKEval<'a> {
"passwords\n", "passwords\n",
" enc <name> show the generated password\n", " enc <name> show the generated password\n",
" gen[N] <name> N numbered variants; name ends in G.. (all) or X.. (random)\n", " gen[N] <name> N numbered variants; name ends in G.. (all) or X.. (random)\n",
" pb <command> run a command and copy its output to the clipboard\n",
" pass <name> [pw] cache a master / override for an entry's subtree\n", " pass <name> [pw] cache a master / override for an entry's subtree\n",
" unpass [name] forget a cached password (unpass / = root; unpass = all)\n", " unpass [name] forget a cached password (unpass / = root; unpass = all)\n",
" correct <name> trust this password's hash uncorrect <name> untrust it\n", " correct <name> trust this password's hash uncorrect <name> untrust it\n",
@@ -168,6 +170,9 @@ impl<'a> LKEval<'a> {
" save [target] write it (file / localStorage key / |command)\n", " save [target] write it (file / localStorage key / |command)\n",
" source <target> load it set <key> <val> config\n", " source <target> load it set <key> <val> config\n",
"\n", "\n",
"other\n",
" help this text # text a comment (ignored) quit exit (CLI)\n",
"\n",
"modes R words C camel N hyphenated H hex B base64 D decimal (U.. = UPPER)\n", "modes R words C camel N hyphenated H hex B base64 D decimal (U.. = UPPER)\n",
" R is the six-word S/KEY form: memorable, pronounceable, easy to type anywhere." " R is the six-word S/KEY form: memorable, pronounceable, easy to type anywhere."
).to_string()); ).to_string());
Binary file not shown.