You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate CLI arguments into the configuration loading handled by the djls-conf crate, allowing CLI flags to override settings found in files.
This came up while working on #66, but I punted it because merging CLI arguments with the settings loaded by the config crate (which djls-conf uses) can be a bit tricky.
To do this, we'll need to map the CLI arguments to the fields in the Settings struct within djls-conf and decide where in the startup sequence this merge should happen.
The text was updated successfully, but these errors were encountered:
Integrate CLI arguments into the configuration loading handled by the
djls-conf
crate, allowing CLI flags to override settings found in files.This came up while working on #66, but I punted it because merging CLI arguments with the settings loaded by the
config
crate (whichdjls-conf
uses) can be a bit tricky.The desired priority for settings is:
djls.toml
,.djls.toml
,pyproject.toml
)~/.config/djls/djls.toml
)To do this, we'll need to map the CLI arguments to the fields in the
Settings
struct withindjls-conf
and decide where in the startup sequence this merge should happen.The text was updated successfully, but these errors were encountered: