Command configuration.
The name of the subcommand.
Default value: the name of the module or class extending Command.
Command
A description of the command; shown in its CLI help.
Default value: the doc comment of the module or class extending Command.
Hide this command from CLI help.
If this command is executed, return an error and print CLI usage.
Only applicable to commands with subcommands.
subcommands
This is enabled by default when this command has subcommands. Overriding it to false will allow this command to be executed directly.
false
Child commands.
Must have unique name values.
name
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Command configuration.