benchmarkstt.cli module

class benchmarkstt.cli.HelpFormatter(*args, **kwargs)[source]

Bases: argparse.HelpFormatter

Custom formatter for argparse that allows us to properly display _ActionWithArguments and docblock documentation, as well as allowing newlines inside the description.

benchmarkstt.cli.action_with_arguments(action, required_args, optional_args)[source]

Custom argparse action to support a variable amount of arguments :param action: name of the action :param list required_args: required arguments :param list optional_args: optional arguments :rtype: ActionWithArguments

benchmarkstt.cli.args_common(parser)[source]
benchmarkstt.cli.args_complete(parser)[source]
benchmarkstt.cli.args_from_factory(action, factory, parser)[source]
benchmarkstt.cli.args_help(parser)[source]
benchmarkstt.cli.create_parser(*args, **kwargs)[source]
benchmarkstt.cli.determine_log_level()[source]
benchmarkstt.cli.main()[source]
benchmarkstt.cli.main_parser()[source]
benchmarkstt.cli.main_parser_context()[source]
benchmarkstt.cli.tools()[source]
benchmarkstt.cli.tools_parser()[source]