-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Expected behavior:
- Supplied
-P "key=value"parameters are bound to registered configuration classes, overriding their defaults and/or file-based configuration.
Current behavior:
- Supplied
-P "key=value"parameters are not bound to registered configuration classes, despite being eventually known to the ConfigContext. - This is because the config class binding is done before the CLI parameters are processed, and it all is a bit of a mess.
- That is, the
in.spcct.spacedoc.exec.Setup#registerAll()gets called in order to register the modules to be loaded, but it also ends up setting up all the other things, which invokes config loading. This is done before the CLI parameters are loaded, because weirdness happens. See Clean up CLI option processing #36.
Solution:
- Implement Clean up CLI option processing #36
- Make sure CLI parameters are bound before module setup.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working