PyPop.CommandLineInterface#
Command-line interface for PyPop scripts.
Classes#
A custom |
Functions#
|
Command-line options common to all scripts. |
|
Command-line options for |
|
Command-line options for |
Module Contents#
- class CitationAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)#
Bases:
argparse.Action
A custom
argparse
Citation
action to read the appropriate citation file format.
- get_parent_cli(version='', copyright_message='')#
Command-line options common to all scripts.
- Parameters:
- Returns:
- A tuple of:
parent_parser (argparse.ArgumentParser): The base parser.
ihwg_args (tuple): Options for the IHWG module.
phylip_args (tuple): Options for the Phylip module.
common_args (tuple): Common options.
prefix_tsv_args (tuple): TSV prefix options.
- Return type:
- get_pypop_cli(version='', copyright_message='')#
Command-line options for
pypop
script.- Parameters:
- Returns:
parser for
pypop
- Return type:
- get_popmeta_cli(version='', copyright_message='')#
Command-line options for
popmeta
script.- Parameters:
- Returns:
parser for
popmeta
- Return type: