-
Notifications
You must be signed in to change notification settings - Fork 469
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
Replaces yargs with commander. #391
Conversation
It is worth noting, I'm leaning on existing tests covering this. I did do a run of |
Looking into test failures now (the tests won't run on my machine for some reason):
|
dbcc938
to
4cd0a42
Compare
solcjs
Outdated
.option('--optimize', 'Enable bytecode optimizer.') | ||
.option('--bin', 'Binary of the contracts in hex.') | ||
.option('--abi', 'ABI of the contracts.') | ||
.option('--standard-json', 'Standard JSON configuration file.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't take a file name so that the help text is confusing. I'd suggest to stick to the original text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I have no idea why I changed that. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, I pushed the wrong branch... give me a few minutes while I clean up the mess I just created for myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Works towards resolving ethereum#361. Yargs brings in ~26 packages while commander brings in 1.
4cd0a42
to
d268ffa
Compare
Works towards resolving #361. Yargs brings in ~26 packages while commander brings in 1.