CLI Core
Overview¶
Path | PyPoE/cli/core.py |
Version | 1.0.0a0 |
Revision | $Id: a5fb3d1ba46d8f546939fc9bb3cbf488d31f5e23 $ |
Author | Omega_K2 |
Description¶
CLI core utility classes and functions.
Agreement¶
See PyPoE/LICENSE
TODO-List¶
- Virtual Terminal?
- console output formatting/linebreaks
Documentation¶
Classes¶
Functions¶
-
PyPoE.cli.core.
run
(parser, config)[source]¶ Run the CLI application with the given parser and config.
It will take care of handling parsing the arguments and calling the appropriate function and print any tracebacks that occurred during the call.
Saves config and exits the python client.
Warning
This function will exist the python client on completion
Parameters: - parser (argparse.ArgumentParser) – assembled argument parser for argument handling
- config (ConfigHelper) – config object to use for the CLI application wide config