Meter_gen Option Config - gridpocket/project-iostack GitHub Wiki
Meter_gen option -config:
From the usage message:
'-config [.json file]':
specify a file that contains options (metersNumber, firstDate, lastDate, interval, meterTypes and maybe others options)
You can put -config and specify parameters or options; in this case, the value set in commandline will be taken.
The config file should be formatted as a JSON file, with keys are options names (without the '-'), and the values are the options parameters.
ex: {'metersNumber':42, 'firstDate':'2016/31/12', 'lastDate':'2017/05/04', 'interval':30, 'meterTypes':'mixed', 'location': true}
by default, if a ./config.json file exists, it will be loaded as config file. If not, all arguments needs to be specified in command.