Accept CLI args via config file
See original GitHub issueSplitting off from https://github.com/ethereumjs/testrpc/pull/24.
As suggested in https://github.com/ethereumjs/testrpc/issues/23 parsing a genesis.json
would be a useful feature and in trufflesuite/ganache-cli#24 we discussed perhaps it is better to have a separate configuration file and/or commandline parameters (for a subset or all options).
Given there are two other PRs in the pipeline (https://github.com/ethereumjs/testrpc/pull/28 (gasLimit) and https://github.com/ethereumjs/testrpc/pull/36 (gasPrice)) as well as the --seed
and perhaps lightwallet options, I think it would be useful to discuss and make a decision on how configuration should work.
I would vote for having a comprehensive configuration file and including some frequently used options in the commandline.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
This will be addressed in #811
Would accept a PR for this if it were effectively generating the config file parsing from the command line arg spec, and allowed command line args to override options specified in the config file. Not likely to prioritize this feature in the near future, however.