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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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