run¶
Run MovieBot.
This module is the entry point of the MovieBot application. It parses the command line arguments and loads the configuration file. It then instantiates the appropriate controller and executes the agent.
Usage: python -m moviebot.run -c <path_to_config.yaml>
Version: Python 3.9
Module Contents¶
Functions¶
|
Parse command line arguments. |
|
Attributes¶
- run.logger¶
- run.parse_args(args: str = None) argparse.Namespace¶
Parse command line arguments.
- Parameters
args (optional) – List of arguments to parse. If not provided, uses sys.argv[1:]. Defaults to None.
- Returns
Parsed arguments.
- Return type
argparse.Namespace
- run.get_config(path: str) confuse.Configuration¶
- run.args¶