7 Repos
Argument parsers and CLI libraries for C++ development.
Explore 7 awesome GitHub repositories matching part of an awesome list · C++ CLI Frameworks. Refine with filters or upvote what's useful.
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
Lightweight option parser for C++.
CLI11 ist eine Header-only C++-Bibliothek zum Parsen von Befehlszeilenargumenten und zur Verwaltung von Konfigurationsdateien. Sie bildet Shell-Eingaben auf typisierte Variablen ab und unterstützt die Erstellung komplexer Befehlshierarchien. Die Bibliothek zeichnet sich durch die Unterstützung verschachtelter Unterbefehle mit unendlicher Tiefe und Präfix-Matching aus. Sie integriert Konfigurationsmanagement, indem sie das Laden von Anwendungseinstellungen aus TOML- oder INI-Dateien ermöglicht, mit der Option, auf Umgebungsvariablen zurückzugreifen. Das Projekt bietet ein umfassendes Set an Tools für das Argument-Parsing, einschließlich Flags und positioneller Argumente, sowie ein Validierungs-Framework zur Durchsetzung obligatorischer Optionen und gegenseitiger Abhängigkeiten. Es enthält zudem eine automatisierte Generierung von Hilfedokumentationen mit anpassbarer Formatierung und ein Callback-System, um benutzerdefinierte Logik während spezifischer Parsing-Phasen auszulösen. Diese abhängigkeitsfreie Bibliothek ist für C++11 und neuere Versionen konzipiert.
Feature-rich command-line parser for modern C++.
The documentation of the gflags library is available online at https://gflags.github.io/gflags/.
Library for processing command-line flags.
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).
Flexible and header-only argument parser.
Argh! A minimalist argument handler.
Minimalist argument handler for C++.
C++11 port of docopt
C++11 port of the docopt argument parser.
A simple to use, composable, command line parser for C++ 11 and beyond
Composable and simple command-line parser.