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
clap has an env method/feature that allows setting an environment variable to read from if the CLI argument isn't present
To throw in configuration files, there's an open issue: clap-rs/clap#748 There are also various (less popular) crates that integrate with clap by third-party authors.
Can configure do all this? Is there a nice wrapper around it?
configure hasn't had a release in 5 years. I don't think it's relevant anymore.
The text was updated successfully, but these errors were encountered:
For evaluating which config crate, we have started but not finished https://github.com/rosetta-rs/config-rosetta-rs to compare them. We plan to talk further about them in the WG-CLI meetings
For general layered config, clap's env support is unlikely sufficient. As for layered configs and clap, the most relevant link is clap-rs/clap#2763.
Going through the TODO on the page:
https://docs.rs/config/latest/config/ seems to be the most popular crate.
clap has an env method/feature that allows setting an environment variable to read from if the CLI argument isn't present
To throw in configuration files, there's an open issue: clap-rs/clap#748 There are also various (less popular) crates that integrate with clap by third-party authors.
configure hasn't had a release in 5 years. I don't think it's relevant anymore.
The text was updated successfully, but these errors were encountered: