Antares_Simulator
Antares_Simulator copied to clipboard
Replace Yuni::GetOpt::parser with something else
GetOpt::parser is a Yuni component that parser the command line options.
In an effort to remove Yuni and tend to use industrial standards it would be best to replace it with more commonly used solutions.
Some potential (but not limited to) candidates are:
- Boost::program_options
- https://github.com/jarro2783/cxxopts
- https://cliutils.github.io/CLI11/book/
- https://github.com/p-ranav/argparse
Some key points to consider to choose one over the other:
- Acceptation: is it used and widely used by the community or in the industry
- Maintenance: Is it actively maintained and can we expect maintenance in the future
- Integration: how difficult is it to integrate in the application
- Complexity: how difficult is it to use
- Content: which features are provided
One interesting feature would be to be able to describe the options in a configuration file for better comprehension, readability and documentation.