Command line parameters parser, calls corresponding user functions and, if necessary, checks type/semantic of values of inputed parameters. Uses Boost C++ libraries.

Features

  • 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 '='.

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow C++ command line parameters parser

C++ command line parameters parser Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of C++ command line parameters parser!

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2010-03-08