Command.command

Adds a subcommand.

class Command
@safe
command

Throws

AssertionError if subcommand already has a chain, if this command has arguments, or if a subcommand with the same name already exists.