polychron.entrypoint
Module
The entrypoint module contains the intended main method for initiating PolyChron and methods for command line argument processing.
parse_cli
parse_cli(argv: Sequence[str] | None = None) -> argparse.Namespace
Parse and return command line arguments
If an error is encountered, this will call sys.exit.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
argv
|
optional list of command line parameters to parse. If None, sys.argv is used by |
None
|
Returns:
(argparse.Namespace): Namespace object with arguments set as attributes, as returned by argparse.ArgumentParser.parse_args()
print_version
print_version() -> None
Print the version of PolyChron to stdout
Note
For editable installs the printed value may be incorrect
main
main() -> None
Main method as the entry point for launching the GUI