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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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