Command line parameters parser, calls corresponding user functions and, if necessary, checks type/semantic of values of inputed parameters. Uses Boost C++ libraries.
- Header-only (does not require building)
- It's really easy to use
- Cross-platform (there is only ISO C++ code and Boost C++ libraries)
- Allows to register parameters with two names (in Unix-style) or single name
- Calls corresponding functions, with or without argument
- Allows to register unnamed parameters that can be inputed without names
- Provides common checks of inputed parameters, like duplication, incorrection, etc.
- Checks of value's type, like integer or real (defines by type of registered function's argument)
- Checks of value's semantic, like correct path, etc.
- Allows to set parameter's necessity.
- Allows to set parameter's default value.
- Allows to set another "name-value" separator, instead default '='.
Follow C++ command line parameters parser
DigitalOcean's predictable format removes infrastructure friction and allows developers more time to build software customers love. Easily deploy, manage, and scale applications of any size. DigitalOcean also provides the support you need with hundreds of in-depth tutorials and an active online community.