get_commandΒΆ

Cli.get_command(ctx, cmd_name)

Given a context and a command name, this returns a Command object if it exists or returns None.