Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layer structopt on top of config-rs #1

Closed
ThomasMeier opened this issue Aug 13, 2019 · 0 comments
Closed

Layer structopt on top of config-rs #1

ThomasMeier opened this issue Aug 13, 2019 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ThomasMeier
Copy link
Owner

Structopt is used for CLI library. It takes a data structure and builds the cli handler from it.

We also use config-rs which layers configuration up from multiple sources to set up a configuration.

Ideally, then, the structopt system will put the collected information from the user to be layered on top of config-rs.

This is an evolving issue in the rust ecosystem (rust-cli/config-rs#111 sort of relevant). I expect structopt and config-rs and clap to merge or have compatible APIs. In the meantime, we simply must put the structopt results on top of the config-rs result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants