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
It should be possible to provide configuration options via a config file, for options which are largely invariant within a project / environment. We should follow general recommendations (clig.dev, 12 factor).
NOTE: adding a -c/--config flag will require renaming the rules specification flag (maybe -r/--rules?)
Objective: support layered config via cli options or config flags
Started something with clap+serde in the branch feat/config-file, but this would require more work because:
optional variables do not work: as missing arguments cause clap to fail
merging config with args is not possible as-is
This would require a more advanced crate (clap-serde or something simlar), which requires defining a separate config struct.
Maybe overkill for now
It should be possible to provide configuration options via a config file, for options which are largely invariant within a project / environment. We should follow general recommendations (clig.dev, 12 factor).
Objective: support layered config via cli options or config flags
Requirements:
The text was updated successfully, but these errors were encountered: