The app currently expects to find the configuration file in the app's root directory with a filename of evl-daemon.json. We need to be able to read configuration from several different sources.
Sources should include:
- Command line switches
- Environment variables
- File on disk
a. Path specified on command line
b. Path specified in environment variable
c. Default configuration
- Default values
If multiple sources are used and sources have conflicting settings, the above priority should be used, ranked from highest priority (command line) to lowest (defaults).
The app currently expects to find the configuration file in the app's root directory with a filename of
evl-daemon.json. We need to be able to read configuration from several different sources.Sources should include:
a. Path specified on command line
b. Path specified in environment variable
c. Default configuration
If multiple sources are used and sources have conflicting settings, the above priority should be used, ranked from highest priority (command line) to lowest (defaults).