pyani.scripts.parsers.listdeps_parser module

Provides parser for listdepsp subcommand.

pyani.scripts.parsers.listdeps_parser.build(subps: argparse._SubParsersAction, parents: Optional[List[argparse.ArgumentParser]] = None) → None[source]

Return a command-line parser for the listdeps subcommand.

Parameters:
  • subps – collection of subparsers in main parser
  • parents – parsers from which arguments are inherited

The terminology may be confusing, but in practice the main parser collects command-line arguments that are then available to this parser, which inherits options from the parsers in parents in addition to those defined below.

pyani listdeps takes no arguments, it just reports dependencies and versions