:mod:`lookout.style.format.cmdline_tools` ========================================= .. py:module:: lookout.style.format.cmdline_tools .. autoapi-nested-parse:: Command line utilities to check the quality of a model on a given dataset, visualize errors, etc. Module Contents --------------- .. function:: add_input_pattern_arg(my_parser:ArgumentParser) Add an input pattern argument to an argpase parser. :param my_parser: Parser to add the argument to. .. function:: add_model_args(my_parser:ArgumentParser) Add arguments to specify model path and language. :param my_parser: Parser to add the arguments to. .. function:: add_bblfsh_arg(my_parser:ArgumentParser) Add an argument to specify the babelfish server connection address. :param my_parser: Parser to add the argument to. .. function:: add_rules_thresholds(my_parser:ArgumentParser) Add threshold arguments to filter rules. :param my_parser: Parser to add the arguments to. .. function:: add_config_arg(my_parser:ArgumentParser) Add analyzer config argument. :param my_parser: Parser to add the arguments to. .. function:: dump_rule_entry(model, hash) Command-line entry for "tool rule". .. function:: create_parser() Create a parser for the lookout.style.format utility. :return: an ArgumentParser with an handler defined in the handler attribute. .. function:: main() Entry point of the utility.