ToolSet / com.zndevs.toolset.commands.tools / SubCommand
SubCommand
class SubCommand
Constructors
| <init> | SubCommand(name: String, charNames: Array<String>, commandRunner: ToolSetCommand)Creates a subcommand instance without a description SubCommand(name: String, desc: String, commandRunner: ToolSetCommand)Creates a subcommand instance without aliases SubCommand(name: String, commandRunner: ToolSetCommand)Creates a subcommand instance without a description or aliases SubCommand(name: String, charNames: Array<String>, customHandledArgs: String?, desc: String?, commandRunner: SimpleCommandLambda)Creates a subcommand instance SubCommand(name: String, charNames: Array<String>, desc: String, commandRunner: SimpleCommandLambda)Creates a subcommand instance without customly handled arguments SubCommand(name: String, charNames: Array<String>, commandRunner: SimpleCommandLambda)Creates a subcommand instance without customly handled arguments or a description SubCommand(name: String, desc: String, commandRunner: SimpleCommandLambda)Creates a subcommand instance without customly handled arguments or aliases SubCommand(name: String, commandRunner: SimpleCommandLambda)Creates a subdommand instance with just a name and command runner SubCommand(longName: String, shortNames: Array<String>, description: String?, command: ToolSetCommand) |
Properties
| command | var command: ToolSetCommandCommand runner instance |
| description | var description: String?A description about the command |
| inlineArgs | var inlineArgs: String? |
| longName | var longName: StringFull-length name of the command |
| shortNames | var shortNames: Array<String>Shortened names (aliases) of the command |