Refactor command line option parsing
Currently we parse the command line options by ourselves, and handle the content of the help message separately. To avoid that these drift apart and make it easier to add new options, we should consider using external libraries/helpers to deal with the command line options.
Suggestions:
- QCommandLineParser (https://doc.qt.io/qt-5/qcommandlineparser.html)
- CLI11 (https://github.com/CLIUtils/CLI11)
Open questions:
- When to open PeTrack after option was executed? Or does using the command line mean, that the main window won't stay open after the commands are executed?
- Is it possible that some command line options are not executed?