{"id":17245656,"url":"https://github.com/jbms/argparse","last_synced_at":"2025-04-14T04:11:59.184Z","repository":{"id":26257632,"uuid":"29704823","full_name":"jbms/argparse","owner":"jbms","description":"Powerful C++ command-line argument parsing inspired by Python's argparse package","archived":false,"fork":false,"pushed_at":"2022-05-02T21:21:29.000Z","size":125,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T04:11:54.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jbms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-22T22:59:02.000Z","updated_at":"2024-11-24T20:19:14.000Z","dependencies_parsed_at":"2022-08-26T17:23:16.289Z","dependency_job_id":null,"html_url":"https://github.com/jbms/argparse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbms%2Fargparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbms%2Fargparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbms%2Fargparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbms%2Fargparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbms","download_url":"https://codeload.github.com/jbms/argparse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819403,"owners_count":21166477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-15T06:30:04.384Z","updated_at":"2025-04-14T04:11:59.163Z","avatar_url":"https://github.com/jbms.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Powerful command-line argument parsing library for C++, inspired by Python's excellent [argparse](https://docs.python.org/3/library/argparse.html) library\n\nThis library provides almost all of the functionality of the Python argparse package, and also provides a similar API, albeit with a modern C++ flavor.\n\nThe code is licensed under the highly-permissive [Boost Software License](http://www.boost.org/LICENSE_1_0.txt).\n\n# Features:\n- Lightweight (single header + single source file, minimal dependencies, limited template use for fast compilation)\n- Supports almost all of the functionality of the Python argparse package\n- Automatically generates highly-informative help and usage messages\n- Handles both optional and positional arguments\n- Subparser support, which provides builtin support for git/svn-style sub-commands\n- Supports flexible option syntax, including both Unix-style short options (`-o`) and GNU-style long options (`--option`) as accepted by `getopt` and `getopt_long`, as well as other option styles.\n  - Multiple single-character options that don't take an argument can be specified together, e.g. `-a -r -p` can be specified as `-arp`\n  - Unique abbreviations of multiple-character options can be used\n  - A single argument to an option can be specified either as `--long=value` or as `--long value`.\n\n# Dependencies:\n- Makes use of C++14/C++1y features, and therefore requires GCC \u003e= 4.9 or Clang \u003e= 3.5.\n  - `std::experimental::optional`\n  - `std::experimental::string_view`\n- [Boost](http://www.boost.org/) \u003e= 1.57\n  - Boost.Any for storage of parsing results\n  - Boost.LexicalCast for argument type conversion\n  - Boost.Core for type printing in error messages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbms%2Fargparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbms%2Fargparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbms%2Fargparse/lists"}