add_commandΒΆ

Cli.add_command(cmd, name=None)

Registers another Command with this group. If the name is not provided, the name of the command is used.