Skip to main content

default_command_group

DefaultCommandGroup

from create_dara_app.default_command_group import DefaultCommandGroup

class DefaultCommandGroup(click.Group)

Invokes a subcommand marked with default=True if any subcommand is not chosen explicitly.

Methods

set_default_command

def set_default_command(command)

Sets a command function as the default command.

DefaultCommandFormatter

from create_dara_app.default_command_group import DefaultCommandFormatter

class DefaultCommandFormatter(object)

Wraps a formatter to mark a default command.