view 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
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("list         List records.")
        println("merge        Merge passwords in from another PassMan database.")
        println("read         Retrieve data from existing record.")
        println("rename       Rename existing record.")
        println("update       Update existing record.")
    }
}