Closed MSallermann closed 4 years ago
spirit --version
is a must!spirit --help
should be present in order to get all command line optionsMaybe the config file command should be --cfg
instead of -f
.
We already have a command line parser, but I would suggest looking into replacing it with bfgroup/Lyra, which is used by Catch2.
Implemented with b3ce15ffc9d2b3ec8db898b93bd8db7e8d818310.
I think it would be nice to have more command line arguments available. As far as i know, the only one we have currently is
-f
to specify the configuration file, as in./spirit -f "path/to/input.cfg"
Arguments that might be useful:
./spirit -i "path/to/image.ovf"
to initialise the system with a given image./spirit -c "path/to/chain.ovf"
to initialise the system with a given chain./spirit --version"
to print the current version./spirit --info
could maybe print information about the scalar type, Cuda/OpenMp, defects enabled etc.Maybe there are more, that could be useful ...