|
|
Configuration files use JSON format. Each component `<name>` (for example `vision`) has its configuration in `root["<name>"]`. Other names than `<name>` are not used for that component.
|
|
|
|
|
|
Using multiple configuration files is supported. If two (or more) configuration files have same keys, last loaded file sets the final values (Q: Are both objects and arrays merged?). Configuration files are included in following order, later files replace values set earlier:
|
|
|
|
|
|
1. `/local/share/ftl/config.json`
|
|
|
2. `~/.config/ftl/config.json`
|
|
|
3. `./config.json`
|
|
|
4. `config.json` files found in path(s) in argument(s)
|
|
|
5. Config file path provided in `--config` argument
|
|
|
|
|
|
Configuration values set in command line parameters override configuration file values. |
|
|
\ No newline at end of file |