ibex.cli.parse_arguments

ibex.cli.parse_arguments()

Parse command-line arguments.

Returns:

(api_host, api_port, log_level)
  • api_host (str): Host address provided by the user. 127.0.0.1 otherwise.

  • api_port (int): The port provided by the user. 0 otherwise.

  • log_level (str): Log level provided by the user, else $IBEX_LOG_LEVEL, else warning.

Return type:

tuple