command

text instruction command-line interface.

Classes

InstructionCommand

Command-line interface for custom instructions

class InstructionCommand[source]

Bases: Command

Command-line interface for custom instructions

static execute(parser, args)[source]

Executes the command.

Parameters:
  • parser (ArgumentParser) – The argument parser.

  • args (Namespace) – The arguments.

Returns:

static setup(parser)[source]

Sets up the command.

Parameters:

parser (ArgumentParser) – The argument parser.

Returns: