akkudoktoreos.server.eos.main

akkudoktoreos.server.eos.main() None

Parse command-line arguments and start the EOS server with the specified options.

This function sets up the argument parser to accept command-line arguments for host, port, log_level, access_log, and reload. It uses default values from the config_eos module if arguments are not provided. After parsing the arguments, it starts the EOS server with the specified configurations.

Command-line Arguments: –host (str): Host for the EOS server (default: value from config). –port (int): Port for the EOS server (default: value from config). –log_level (str): Log level for the server. Options: “critical”, “error”, “warning”, “info”, “debug”, “trace” (default: “info”). –access_log (bool): Enable or disable access log. Options: True or False (default: False). –reload (bool): Enable or disable auto-reload. Useful for development. Options: True or False (default: False).