Automatically determine possible kwargs for solc_wrapper
#80
Labels
enhancement
New feature or request
Milestone
solc_wrapper
#80
Originally posted by @iamdefinitelyahuman in #78 (comment)
solc_wrapper
kwargs should be generalized / future-proofed by regexing thesolc --help
output. This would reduce a lot of overhead around checking exactly which flags were added in which version. A few flags require specific logic but the vast majority are only setting a flag or setting a flag and adding a string after it.. shouldn't be that hard to do.Here's a quick hacky experiment I did:
It will require fairly thorough testing and there's no guarantee it won't be broken in a future
solc
release - but I think this could be done in a way that's just as reliable as what we have today.The text was updated successfully, but these errors were encountered: