Skip to content

How to add clap's parsed args to Figment? I couldn't find a clap-provider #5439

Answered by epage
abitofhelp asked this question in Q&A
Discussion options

You must be logged in to vote

I do not have any experience with figment, so I can't speak too much to that. You'd likely need to parse your arguments into an ArgMatches which can be introspected. You might also need to carefully control the ids (implicitly the field's name) of your arguments.

Our conversation on layered configs is in #2763.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abitofhelp
Comment options

Answer selected by abitofhelp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants