{"id":25387227,"url":"https://github.com/llvmparty/args","last_synced_at":"2026-04-02T17:15:07.558Z","repository":{"id":258661001,"uuid":"871912224","full_name":"LLVMParty/args","owner":"LLVMParty","description":"Minimal header-only C++11 argument parser library for simple command line tools.","archived":false,"fork":false,"pushed_at":"2026-03-29T00:14:54.000Z","size":15,"stargazers_count":25,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-29T02:59:05.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LLVMParty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-13T09:45:15.000Z","updated_at":"2026-03-29T00:14:57.000Z","dependencies_parsed_at":"2025-02-15T11:35:12.546Z","dependency_job_id":"b3c3c2ff-162e-476d-b000-6f079a56bbe5","html_url":"https://github.com/LLVMParty/args","commit_stats":null,"previous_names":["llvmparty/args"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/LLVMParty/args","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLVMParty%2Fargs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLVMParty%2Fargs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLVMParty%2Fargs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLVMParty%2Fargs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LLVMParty","download_url":"https://codeload.github.com/LLVMParty/args/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LLVMParty%2Fargs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-15T11:34:57.762Z","updated_at":"2026-04-02T17:15:07.553Z","avatar_url":"https://github.com/LLVMParty.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# args\n\nMinimal header-only C++11 argument parser library for simple command line tools.\n\n## Usage\n\nFetch the project in your CMakeLists.txt:\n\n```cmake\ninclude(FetchContent)\nFetchContent_Declare(args\n    GIT_REPOSITORY\n        \"https://github.com/LLVMParty/args\"\n    GIT_TAG\n        v1.3\n)\nFetchContent_MakeAvailable(args)\n```\n\nThen inherit from `ArgumentParser` and add your flags:\n\n```cpp\n#include \u003ccstdio\u003e\n#include \"args.hpp\"\n\nstruct Arguments : public ArgumentParser\n{\n    std::string input;\n    std::string output;\n    bool        parallel = false;\n\n    Arguments(int argc, const char* const* argv) : ArgumentParser(\"Example\")\n    {\n        addPositional(\"input\", input, \"Input file\", true);\n        addString(\"-output\", output, \"Output file\");\n        addBool(\"-parallel\", parallel, \"Process the input on multiple threads\");\n        parseOrExit(argc, argv);\n    }\n};\n\nint main(int argc, char** argv)\n{\n    Arguments args(argc, argv);\n    printf(\"input: '%s'\\n\", args.input.c_str());\n    printf(\"output: '%s'\\n\", args.output.c_str());\n    printf(\"parallel: %s\\n\", args.parallel ? \"yes\" : \"no\");\n    return EXIT_SUCCESS;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllvmparty%2Fargs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllvmparty%2Fargs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllvmparty%2Fargs/lists"}