Open JasonMarechal25 opened 9 months ago
Boost: + already used in Antares - i find the syntax more complex than the other choices cxxopts: + lightweight, only a hpp file to include cli11: + only a hpp file argparse: easy to download with cmake as a dependency
Another factor to consider is the ability to read parameters from a configuration file. Grouping CLI parameters & a config file in the same place would be much better than the current "manual" approach.
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:
Some key points to consider to choose one over the other:
One interesting feature would be to be able to describe the options in a configuration file for better comprehension, readability and documentation.