text_lint.cli.commands.bases.command_base.CLICommandBase

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

Bases: ABC

CLI command base class.

abstract create_parser(command_parser: ArgumentParser) None[Quellcode]

Create an argument parser for this CLI command.

Parameter:

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

abstract invoke(args: Namespace) None[Quellcode]

Invoke this CLI command.

Parameter:

args (Namespace) – The argparse namespace to use.