Program.add

Adds a subcommand.

Throws

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