mirror of
https://github.com/angt/secret
synced 2025-01-29 08:34:45 +01:00
Improve UX
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
parent
7239f0c4d3
commit
4fb03cacb9
2 changed files with 12 additions and 12 deletions
20
README.md
20
README.md
|
@ -72,16 +72,16 @@ Completion for secrets is only available in a trusted shell. See below.
|
||||||
|
|
||||||
Available commands:
|
Available commands:
|
||||||
|
|
||||||
init Initialize secret for the current user
|
init Initialize secret for the current user
|
||||||
list List all secrets for a given passphrase
|
list List all secrets for a given passphrase
|
||||||
show Print a secret
|
show Print a secret
|
||||||
new Generate a new secret
|
new Generate a new random secret
|
||||||
set Set a new secret
|
set Set a new secret
|
||||||
renew Regenerate an existing secret
|
renew Regenerate an existing secret
|
||||||
reset Update an existing secret
|
update Update an existing secret
|
||||||
pass Derivate a new secret
|
pass Derivate a new secret
|
||||||
agent Run a process in a trusted zone
|
agent Run a process in a trusted zone
|
||||||
version Show version
|
version Show version
|
||||||
|
|
||||||
All secrets are encrypted in the file `~/.secret`.
|
All secrets are encrypted in the file `~/.secret`.
|
||||||
You can use a different file with the `SECRET_STORE` environment variable:
|
You can use a different file with the `SECRET_STORE` environment variable:
|
||||||
|
|
4
secret.c
4
secret.c
|
@ -665,10 +665,10 @@ main(int argc, char **argv)
|
||||||
{"init", "Initialize secret for the current user", &s_init, .grp = 1},
|
{"init", "Initialize secret for the current user", &s_init, .grp = 1},
|
||||||
{"list", "List all secrets for a given passphrase", &s_list, .grp = 1},
|
{"list", "List all secrets for a given passphrase", &s_list, .grp = 1},
|
||||||
{"show", "Print a secret", &s_show, NULL, .grp = 1},
|
{"show", "Print a secret", &s_show, NULL, .grp = 1},
|
||||||
{"new", "Generate a new secret", &s_do, &s_new, .grp = 1},
|
{"new", "Generate a new random secret", &s_do, &s_new, .grp = 1},
|
||||||
{"set", "Set a new secret", &s_do, &s_set, .grp = 1},
|
{"set", "Set a new secret", &s_do, &s_set, .grp = 1},
|
||||||
{"renew", "Regenerate an existing secret", &s_do, &s_rnw, .grp = 1},
|
{"renew", "Regenerate an existing secret", &s_do, &s_rnw, .grp = 1},
|
||||||
{"reset", "Update an existing secret", &s_do, &s_rst, .grp = 1},
|
{"update", "Update an existing secret", &s_do, &s_rst, .grp = 1},
|
||||||
{"pass", "Derivate a new secret", &s_pass, NULL, .grp = 1},
|
{"pass", "Derivate a new secret", &s_pass, NULL, .grp = 1},
|
||||||
{"agent", "Run a process in a trusted zone", &s_agent, NULL, .grp = 1},
|
{"agent", "Run a process in a trusted zone", &s_agent, NULL, .grp = 1},
|
||||||
{"version", "Show version", &s_version, NULL, .grp = 1},
|
{"version", "Show version", &s_version, NULL, .grp = 1},
|
||||||
|
|
Loading…
Add table
Reference in a new issue