CLI for showing available settings
Closed this issue · 1 comments
ankitchiplunkar commented
Describe the solution you'd like
Provide an option in the CLI script to demonstrate the available settings and their values.
ankitchiplunkar commented
Successful usage
$ ether_sql --help
Usage: ether_sql [OPTIONS] COMMAND [ARGS]...
:code:`ether_sql` is the most basic CLI group with 4 subsequent commands.
Options:
--settings Settings to run ether_sql, choose from DefaultSettings,
ParityTestSettings, PersonalGethSettings,
PersonalInfuraSettings, PersonalParitySettings, TestSettings
[default: DefaultSettings]
--help Show this message and exit.
Wrong setting
$ ether_sql --settings=Yo
Usage: ether_sql [OPTIONS] COMMAND [ARGS]...
Error: Invalid value for "--settings": invalid choice: Yo. (choose from DefaultSettings, ParityTestSettings, PersonalGethSettings, PersonalInfuraSettings, PersonalParitySettings, TestSettings)