Would be nice to have a configuration file that has the various geth command line parameters (JSON, yaml, ini, dotfile, etc...). Today we get around this by creating a shell script but it would be nice to have something better for automated deploys of geth nodes.
geth --config ~/.ethereum/geth.[json,yaml,ini,etc.]
This will not be implemented for numerous reason and one of them is maintenance. Configuration files tend to bite people in the ass and therefor we'd rather not see it implemented.
I don't think .sh files are that bad tho, they are actually rather nice and feedback is given when a bad configuration parameter is being used.
I would like to petition/request that this be reconsidered as a feature.
@obscuren you say that they tend to bite people in the ass. I don't see why the implementation of a config file cannot be done so that it protects people from the common pitfalls.
"Loaded configuration options /path/to/config.something"As for maintenance overhead, it has been almost a year since this was first proposed. I understand there is overhead here, but configuration via config file is extremely common and geth has matured a lot in the last 10 months.
Added in #13875, released in 1.6.0.
Most helpful comment
I would like to petition/request that this be reconsidered as a feature.
@obscuren you say that they tend to bite people in the ass. I don't see why the implementation of a config file cannot be done so that it protects people from the common pitfalls.
"Loaded configuration options /path/to/config.something"As for maintenance overhead, it has been almost a year since this was first proposed. I understand there is overhead here, but configuration via config file is extremely common and
gethhas matured a lot in the last 10 months.