comparison src/main/kotlin/name/blackcap/passman/HelpSubcommand.kt @ 11:c69665ff37d0

Add merge subcommand (untested).
author David Barts <n5jrn@me.com>
date Sat, 21 Jan 2023 15:39:42 -0800
parents 698c4a3d758d
children a38a2a1036c3
comparison
equal deleted inserted replaced
10:cbe4c797c9a6 11:c69665ff37d0
3 class HelpSubcommand(): Subcommand() { 3 class HelpSubcommand(): Subcommand() {
4 override fun run(args: Array<String>) { 4 override fun run(args: Array<String>) {
5 println("PassMan: a password manager") 5 println("PassMan: a password manager")
6 println("Available subcommands:") 6 println("Available subcommands:")
7 println("create Create a new username/password pair.") 7 println("create Create a new username/password pair.")
8 println("read Retrieve data from existing record.")
9 println("update Update existing record.")
10 println("delete Delete existing record.") 8 println("delete Delete existing record.")
11 println("help Print this message.") 9 println("help Print this message.")
12 println("list List records.") 10 println("list List records.")
13 println("merge Merge passwords in from another PassMan database.") 11 println("merge Merge passwords in from another PassMan database.")
12 println("read Retrieve data from existing record.")
13 println("rename Rename existing record.")
14 println("update Update existing record.")
14 } 15 }
15 } 16 }