LinchPin Command Line Shell implementation

The linchpin.shell module contains calls to implement the Command Line Interface within linchpin. It uses the Click command line interface composer. All calls here interface with the LinchPin Command-Line API API.

class linchpin.shell.click_default_group.DefaultGroup(*args, **kwargs)[source]

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

Parameters:default_if_no_args – resolves to the default command if no arguments passed.
command(*args, **kwargs)[source]
format_commands(ctx, formatter)[source]
get_command(ctx, cmd_name)[source]
list_commands(ctx)[source]

Provide a list of available commands. Anything deprecated should not be listed

parse_args(ctx, args)[source]
resolve_command(ctx, args)[source]
set_default_command(command)[source]

Sets a command function as the default command.