lookout.core.cmdline

Module Contents

class lookout.core.cmdline.ArgumentDefaultsHelpFormatterNoNone

Bases:argparse.ArgumentDefaultsHelpFormatter

Pretty formatter of help message for arguments. It adds default value to the end if it is not None.

lookout.core.cmdline.list_analyzers(args:argparse.Namespace)

Print the list of the analyzers inside the lookout package.

Parameters:args – Not used - parsed command line arguments.
Returns:None
lookout.core.cmdline.run_analyzers(args:argparse.Namespace)

Launch the service with the specified analyzers. Blocks until a KeyboardInterrupt.

Parameters:args – Parsed command line arguments.
Returns:None
lookout.core.cmdline.init_repo(args:argparse.Namespace)

Initialize the model repository.

Parameters:args – Parsed command line arguments.
Returns:None
lookout.core.cmdline.run_analyzer_tool(args:argparse.Namespace)

Invoke the tooling of an analyzer.

Parameters:args – Parsed command line arguments.
Returns:None
lookout.core.cmdline.create_model_repo_from_args(args:argparse.Namespace)

Get SQLAlchemyModelRepository from command line arguments.

Parameters:argsargparse parsed arguments.
Returns:Constructed instance of SQLAlchemyModelRepository.
lookout.core.cmdline.add_model_repository_args(parser)

Add command line flags specific to the model repository.

Parameters:parserargparse parser where to add new flags.
lookout.core.cmdline.add_analyzer_arg(parser)

Add the variable count argument to specify analyzers.

Parameters:parserargparse parser where to add new flags.
lookout.core.cmdline.create_parser()

Initialize the command line argument parser.