How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).
CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell input to typed variables and supports the creation of complex command hierarchies. The library is distinguished by its support for nested subcommands with infinite depth and prefix matching. It integrates configuration management by allowing application settings to be loaded from TOML or INI files, with the ability to fall back to environment variables. The project provides a comprehensive set of tools for argument parsing, including flags and positional arguments, alongside
cxxopts is a header-only C++ command line parser used to define required options, default values, and positional arguments for console applications. It functions as a lightweight utility for parsing command line arguments into typed values using short and long flags and automatically generating formatted help messages and documentation. The library provides capabilities for argument specification, allowing the definition of option descriptions, types, and boolean flags. It supports multi-value option collection into containers, default value management for omitted options, and the mapping of
Argh! A minimalist argument handler.
easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation
The main features of muellan/clipp are: Argument Parsers, CLI and Argument Parsing, Command Line Interfaces.
Projects with overlapping indexed features include: cliutils/cli11 — CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell… jarro2783/cxxopts — cxxopts is a header-only C++ command line parser used to define required options, default values, and positional… taywee/args — A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible… p-ranav/argparse — Argument Parser for Modern C++. adishavit/argh — Argh! A minimalist argument handler. p-ranav/structopt — Parse command line arguments by defining a struct.