Mercurial > cgi-bin > hgweb.cgi > PassMan
view src/main/kotlin/name/blackcap/passman/HelpSubcommand.kt @ 20:4391afcf6bd0
Fix more bugs, correct more bad tests.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 30 Jun 2024 22:28:52 -0700 (6 months ago) |
parents | 7a74ae668665 |
children | 07406c4af4a5 |
line wrap: on
line source
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("delete Delete existing record.") println("help Print this message.") println("export Export to CSV file.") println("import Import from CSV file.") println("list List records.") println("merge Merge passwords in from another PassMan database.") println("password Change database encryption key.") println("read Retrieve data from existing record.") println("rename Rename existing record.") println("update Update existing record.") println() println("Database is ${see(DB_FILE)} .") } }