CommanderCommand

constructor(parent: CommanderCommand? = null, name: String, aliases: Array<String> = arrayOf(), description: String? = null, arguments: MutableList<CommanderArgument> = mutableListOf(), options: MutableList<CommanderOption> = mutableListOf(), commands: MutableList<CommanderCommand> = mutableListOf(), action: CommanderCommandAction? = null)(source)

Parameters

parent

The parent command

name

The name of the command

aliases

The aliases of the command

description

The description of the command

arguments

The arguments of the command

options

The options of the command

commands

The subcommands of the command

action

The action of the command