Skip to content

feat: add support for --config CLI flag to REST API daemon #3

Description

@EgonRuiter

Currently, the REST daemon configuration is hardcoded to look for config/mx2.conf. We should support an optional --config command-line flag on web_server.py to let developers pass custom config files.

Requirements:

  • Add argparse to src/web_server.py.
  • Support a -c/--config flag pointing to any config file.
  • Fallback to config/mx2.conf if no flag is provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions