Registry / cli / argagg

argagg

JSON →
library0.4.7vcpkgunverified

A simple C++11 command line argument parser.

vcpkg install argagg
INSTALL
IMPORT
SIG · ARGAGG
A
argagg
clicppv0.4.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

argagg/argagg.hpp
#include <argagg/argagg.hpp>

Parse command-line arguments with argagg

#include <argagg/argagg.hpp> #include <iostream> int main(int argc, char** argv) { argagg::parser argparser {{ {"help", {"-h", "--help"}, "show help", 0}, {"name", {"-n", "--name"}, "your name", 1} }}; auto args = argparser.parse(argc, argv); if (args["help"]) { std::cout << argparser; return 0; } std::cout << "Hello, " << args["name"] << "!\n"; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.7latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Amazon
1
Resources

No resource links recorded.

argagg — pip install argagg · libregistry