Fork me on GitHub
#duct
<
2019-02-22
>
roklenarcic09:02:01

Is there some way I can add command line arguments into the configuration?

roklenarcic09:02:35

How would you modify configuration of a system with specific values before it's started?

lukas.rychtecky09:02:19

IMO you can do it “by hand”, when you call duct/read-config in main.clj you can modify the map.

👍 5
roklenarcic13:02:34

Yeah, ran into a different set of problems. If I add command line options as configuration keys and then depend on them elsewhere, then it dies when keys are missing. How do I make an #ig/ref that is optional?