rvolosatovs / confargs

Parse configuration files into a set of arguments
1 stars 0 forks source link

Support for nested arguments/subcommands #7

Open rjzak opened 1 year ago

rjzak commented 1 year ago

I was using your project, but when I adopted Enarx-style Clap subcommands, I was getting errors about unexpected args. I think it's because confargs reads the whole argument string and doesn't know about it's locality.

rvolosatovs commented 1 year ago

Could you add a test case reproducing the issue? confargs does not know about subcommands and neither should it, if https://docs.rs/confargs/latest/confargs/fn.args.html is what you are using, you should try configuring the filter to better suit your use case. Could you give an example invocation that fails?