Mercurial > cgi-bin > hgweb.cgi > PassMan
diff src/main/kotlin/name/blackcap/passman/HelpSubcommand.kt @ 0:a6cfdffcaa94
Initial commit, incomplete but it runs sorta.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 11 Sep 2022 16:11:37 -0700 |
parents | |
children | 698c4a3d758d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/kotlin/name/blackcap/passman/HelpSubcommand.kt Sun Sep 11 16:11:37 2022 -0700 @@ -0,0 +1,15 @@ +package name.blackcap.passman + +class HelpSubcommand(): Subcommand() { + override fun run(args: Array<String>) { + println("PassMan: a password manager") + println("Available subcommands:") + println("create Create a new username/password pair.") + println("read Retrieve data from existing record.") + println("update Update existing record.") + println("delete Delete existing record.") + println("help Print this message.") + println("list List records.") + println("merge Merge passwords in from another PassMan database.") + } +} \ No newline at end of file