text_lint.cli.commands.bases.command_base.CLICommandBase

class text_lint.cli.commands.bases.command_base.CLICommandBase[source]

Bases: ABC

CLI command base class.

abstract create_parser(command_parser: ArgumentParser) None[source]

Create an argument parser for this CLI command.

Parameters:

command_parser (ArgumentParser) – The root argparse parser to attach to.

abstract invoke(args: Namespace) None[source]

Invoke this CLI command.

Parameters:

args (Namespace) – The argparse namespace to use.