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.

Project Activity

See All Activity >

License

MIT License

Follow Templatized C++ Command Line Parser

Templatized C++ Command Line 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 Ratings

★★★★★
★★★★
★★★
★★
8
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

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.
    2 users found this review helpful.
  • 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.
    3 users found this review helpful.
  • 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.
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, Mac, Solaris, Windows

Languages

English

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Software Development Software

Registered

2003-03-18