🍺 BREW Explorer

← all formulae

argc

brew install argc v1.24.0 Apache-2.0 OR MIT

Easily create and use cli based on bash script

100
30-day installs · #3484
226
90-day · #3987
686
365-day · #4472
1.1k
★ GitHub stars · updated 2mo ago

Build dependencies

GitHub topics

argc bash bashscript cli-framework cli-generator command-line command-line-parser command-line-tool rust shell task-runner

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Easily create and use cli based on bash script",
  "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": "argc",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-07T07:52:01Z",
  "github_readme_excerpt": "# Argc\n\n[![CI](https://github.com/sigoden/argc/actions/workflows/ci.yaml/badge.svg)](https://github.com/sigoden/argc/actions/workflows/ci.yaml)\n[![Crates](https://img.shields.io/crates/v/argc.svg)](https://crates.io/crates/argc)\n\nArgc is a powerful Bash framework that simplifies building full-featured CLIs. It lets you define your CLI through comments, focusing on your core logic without dealing with argument parsing, usage text, error messages, and other boilerplate code.\n\n![demo](https://user-images.githubusercontent.com/4012553/228990851-fee5649f-aa24-4297-a924-0d392e0a7400.gif)\n\n## Features\n\n- **Effortless Argument Parsing:**\n  - Handles flags, options, positional arguments, and subcommands.\n  - Validates user input for robust error handling.\n  - Generates information-rich usage text.\n  - Maps arguments to corresponding variables.\n- **Standalone Bash Script Creation:**\n  - Build a bash script that incorporates all functionalities without depending on Argc itself.\n- **Cross-shell Autocompletion:**\n  - Generate autocompletion scripts for various shells (bash, zsh, fish, powershell, etc.).\n- **Man Page Generation:**\n  - Automatically create comprehensive man page documentation for your script.\n- **Environment Variable Integration:**\n  - Define, validate, and bind environment variables to options and positional arguments.\n- **Task Automation:**\n  - An Bash-based command runner that automates tasks via Argcfile.sh.\n- **Cross-Platform Compatibility:**\n  - Seamlessly run your Argc-based scripts on macOS, Linux, Windows, and BSD systems.\n\n## Install\n\n### Package Managers\n\n- **Rust Developers:** `cargo install argc`\n- **Homebrew/Linuxbrew Users:** `brew install argc`\n- **Pacman Users**: `yay -S argc`\n\n#### Pre-built Binaries\n\nAlternatively, download pre-built binaries for macOS, Linux, and Windows from [GitHub Releases](https://github.com/sigoden/argc/releases), extract it, and add the `argc` binary to your `$PATH`.\n\nYou can use the following command on Linux, MacOS, or ",
  "github_repo": "sigoden/argc",
  "github_stars": 1149,
  "github_topics": [
    "argc",
    "bash",
    "bashscript",
    "cli-framework",
    "cli-generator",
    "command-line",
    "command-line-parser",
    "command-line-tool",
    "rust",
    "shell",
    "task-runner"
  ],
  "homepage": "https://github.com/sigoden/argc",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 100,
  "installs_365d": 686,
  "installs_90d": 226,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0 OR MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "argc",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3484,
  "rank_365d": 4472,
  "rank_90d": 3987,
  "raw_hash": "cc747d1ec795afcf",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/argc.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.24.0",
  "versioned_formulae": [],
  "why_use_this": null
}