Program.command

Adds a subcommand.

class Program
override @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.