diff options
-rwxr-xr-x | ayu | 4 | ||||
-rw-r--r-- | ayu.mdoc | 52 |
2 files changed, 35 insertions, 21 deletions
diff --git a/ayu b/ayu index c840c12..f32af68 100755 --- a/ayu +++ b/ayu @@ -67,13 +67,13 @@ case $1 in edit) edit $2 ;; - list) + list | ls) list ;; new) new $2 ;; - rm) + remove | rm) remove $2 ;; usage) diff --git a/ayu.mdoc b/ayu.mdoc index 74561bb..3ae2983 100644 --- a/ayu.mdoc +++ b/ayu.mdoc @@ -4,25 +4,6 @@ .Sh NAME .Nm ayu .Nd Not-so standard unix password manager -.Sh SYNOPSIS -.Nm ayu -.Op edit -.Ar entry -.Pp -.Nm ayu -.Op list -.Pp -.Nm ayu -.Op new -.Ar entry -.Pp -.Nm ayu -.Op rm -.Ar entry -.Pp -.Nm ayu -.Op view -.Ar entry .Sh DESCRIPTION My own take with password managers, this one uses .Xr age 1 @@ -31,6 +12,39 @@ as backend, instead of for encryption .Pp This program is in early status of development +.Sh USAGE +.Ss Add an entry +.Nm ayu +.Sy new +.Em entry +.Ss Edit an entry +.Nm ayu +.Sy edit +.Em entry +.Ss List entries +.Nm ayu +.Sy list +.Ss Remove an entry +.Nm ayu +.Sy rm +.Em entry +.Ss View an antry +.Nm ayu +.Sy view +.Em entry +.Sh CAVEATS +You have to generate your own keypair using +.Xr age-keygen(1) +.Pp +The private key should be placed on +.Em ~/.config/ayu/age.key +and the public key to +.Em ~/.config/ayu/age.pub +for the utility to work +.Pp +Side note: if the utility is invoked without any arguments, it defaults +to listing the entries on the password store. +.Pp .Sh AUTHORS .An Nova li Gensokyo .Mt novaburst@kalli.st |