about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNova li Gensokyo <novaburst@kalli.st>2021-12-05 22:42:11 +0000
committerNova li Gensokyo <novaburst@kalli.st>2021-12-05 22:42:11 +0000
commit0c9f8e038bc58989d511213569b071983d3b8824 (patch)
treed7dda3e4777c0033d09b9b57a23c2b90758f70c1
parent19e205a1fe4e3d8c4da405d5751ce152134bbd9d (diff)
downloadayu-0c9f8e038bc58989d511213569b071983d3b8824.tar.gz
Cool as the toad who snapped a mosquito.
-rwxr-xr-xayu4
-rw-r--r--ayu.mdoc52
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