🍺 BREW Explorer

← all formulae

argparse

brew install argparse v3.2 MIT

Argument Parser for Modern C++

14
30-day installs · #7645
80
90-day · #6087
278
365-day · #6502
3.5k
★ GitHub stars · updated 1y ago

Build dependencies

GitHub topics

argument-parser cpp17 cross-platform header-only library mit-license

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Argument Parser for Modern C++",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:30+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "argparse",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-01-26T23:27:21Z",
  "github_readme_excerpt": "\u003cp align=\"center\"\u003e\r\n  \u003cimg height=\"100\" src=\"https://i.imgur.com/oDXeMUQ.png\" alt=\"argparse\"/\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://github.com/p-ranav/argparse/blob/master/LICENSE\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"license\"/\u003e\r\n  \u003c/a\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/version-3.2-blue.svg?cacheSeconds=2592000\" alt=\"version\"/\u003e\r\n\u003c/p\u003e\r\n\r\n## Highlights\r\n\r\n* Single header file\r\n* Requires C++17\r\n* MIT License\r\n\r\n## Table of Contents\r\n\r\n*    [Quick Start](#quick-start)\r\n     *    [Positional Arguments](#positional-arguments)\r\n     *    [Optional Arguments](#optional-arguments)\r\n          *    [Requiring optional arguments](#requiring-optional-arguments)\r\n          *    [Accessing optional arguments without default values](#accessing-optional-arguments-without-default-values)\r\n          *    [Deciding if the value was given by the user](#deciding-if-the-value-was-given-by-the-user)\r\n          *    [Joining values of repeated optional arguments](#joining-values-of-repeated-optional-arguments)\r\n          *    [Repeating an argument to increase a value](#repeating-an-argument-to-increase-a-value)\r\n          *    [Mutually Exclusive Group](#mutually-exclusive-group)\r\n     *    [Storing values into variables](#store-into)\r\n     *    [Negative Numbers](#negative-numbers)\r\n     *    [Combining Positional and Optional Arguments](#combining-positional-and-optional-arguments)\r\n     *    [Printing Help](#printing-help)\r\n     *    [Adding a description and an epilog to help](#adding-a-description-and-an-epilog-to-help)\r\n     *    [List of Arguments](#list-of-arguments)\r\n     *    [Compound Arguments](#compound-arguments)\r\n     *    [Converting to Numeric Types](#converting-to-numeric-types)\r\n     *    [Default Arguments](#default-arguments)\r\n     *    [Gathering Remaining Arguments](#gathering-remaining-arguments)\r\n     *    [Parent Parsers](#parent-parsers)\r\n     *    [Subcommands](#subcommands)\r\n     *    [Getting Argument an",
  "github_repo": "p-ranav/argparse",
  "github_stars": 3494,
  "github_topics": [
    "argument-parser",
    "cpp17",
    "cross-platform",
    "header-only",
    "library",
    "mit-license"
  ],
  "homepage": "https://github.com/p-ranav/argparse",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 14,
  "installs_365d": 278,
  "installs_90d": 80,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "argparse",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7645,
  "rank_365d": 6502,
  "rank_90d": 6087,
  "raw_hash": "395a3ff18dfe9a0c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/argparse.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.2",
  "versioned_formulae": [],
  "why_use_this": null
}