Add optional reading of json files for command line options
hkaiser opened this issue · comments
Simple json files like (https://github.com/ornladios/ADIOS2-Examples/blob/master/source/julia/GrayScott.jl/examples/settings-files.json) could be easily integrated with hpx::program_options
.
FWIW, HPX already supports using configuration files on the command line. For instance, a configuration file abc.cfg
containing:
--hpx:some_option
--some_other_option
can be specified on the application command line as ./app @abc.cfg
. This will insert all options from the file in place of the @abc.cfg
on the command line before processing the options.
Supporting Json files would essentially just provide an alternative file format for this.