So many different command line processing libraries out there and none of them just work. Some bring their whole extended family of related and unrelated external dependencies (yes, I'm looking at you Boost). Some require quirky syntax and/or very verbose setups that sacrifice simplicity for the generation of a cute usage message and validation. Many come to dominate your main() file and yet others do not build on multiple platforms - for some even their own tests and trivial usage cause crashes on some systems. Argh! If you're writing a highly-sophisticated command line tool, then Boost.Program_options and its kind might give you many advanced options. However, if you need to get up and running quickly, effectively, and with minimal fuss, give the single header-file argh a try.

Features

  • Minimalistic but expressive
  • No exceptions thrown for failures
  • Conversion to typed variables happens (via std::istream >>) on the user side after the parsing phase
  • You don't pay for what you don't use
  • Single header file
  • No non-std dependencies
  • Liberal BSD license

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow Argh!

Argh! Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Argh!!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2024-09-17