This is a simple templatized C++ library for parsing command line arguments. The library provides a simple, flexible object-oriented interface to the command line that automates argument parsing, USAGE creation and type casting.
Categories
Software DevelopmentLicense
MIT LicenseFollow Templatized C++ Command Line Parser
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Rate This Project
Login To Rate This Project
User Reviews
-
nice project. I was messing with older version until i saw the note that for gcc, newer version is available. thanks.
-
Very nice parser. May use cases need command line parsers rather than GUI ones. Respect to developer.
-
I settled on TCLAP after scouting for a while for a command line parser. It's simple to use, gave no warnings on gcc/msbuild under fairly strict options. I found it convenient to provide arg values by reference and I removed the traits bits to cut the boiler plate even further and shrink the amount of code to suit my taste. It speaks well of TCLAP design and implementation that I could make those changes in a very straightforward way.
-
Really nice, easy to use and extensible command line interface. I like the header-only-ness.
-
I've used this library for almost 10 years. It compiles warning-free under g++ using "-Wall -Weffc++ -pedantic -std=c++0x". It keeps parsing simple, allows for parameter ranges, and exclusive-OR argument specification.