Command.addCommand

add the sub command, which is often used when you want more detail configuration of sub command

class Command
addCommand
(,
bool[string] cmdOpts = null
)

Parameters

cmd Command

the command used as the sub command

cmdOpts bool[string]

see also this.command(Args...)(string nameAndArgs, bool[string] cmdOpts = null) Args: see alos this.command(Args...)(string nameAndArgs, bool[string] cmdOpts = null)

Return Value

Type: Self

Self for chain call

Meta