Consider:
config
.loadDefaultFiles()
.loadCliArguments()
The intention is to let CLI arguments override the settings from the default files. However, this logic can be inverted in the following way:
- a default file include the key
@someEntry: /path/to/file/with/content and
- a cli argument
--someEntry what-should-be-used is passed
The result should be that in the final config, someEntry should contain what should be used. The current behavior is that it contains the contents of /path/to/file/with/content
Consider:
The intention is to let CLI arguments override the settings from the default files. However, this logic can be inverted in the following way:
@someEntry: /path/to/file/with/contentand--someEntry what-should-be-usedis passedThe result should be that in the final
config,someEntryshould containwhat should be used. The current behavior is that it contains the contents of/path/to/file/with/content