pynenc.cli.main_cli#
Module Contents#
Functions#
Execute the Pynenc Command Line Interface. |
API#
- pynenc.cli.main_cli.main() None[source]#
Execute the Pynenc Command Line Interface.
This function initializes and processes the command line arguments for the Pynenc application, sets up logging, and executes the appropriate subcommand function based on the user input.
The CLI supports various subcommands for different functionalities, such as running tasks and configuring the application. It requires the specification of an application module and name and optionally allows for increased output verbosity.
The main steps include:
Parsing command line arguments with
argparse.Setting up logging based on verbosity.
Importing the application instance.
Executing the function associated with the chosen subcommand.
Exceptions:
Various exceptions can be raised depending on the subcommands executed and the application’s behavior.