spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
117 stars 52 forks source link

Command line options #544

Closed MSallermann closed 4 years ago

MSallermann commented 4 years ago

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:

Maybe there are more, that could be useful ...

GPMueller commented 4 years ago

Maybe 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.

MSallermann commented 4 years ago

Implemented with b3ce15ffc9d2b3ec8db898b93bd8db7e8d818310.