{"repo":"kazupon/gunshi","free":true,"listed":false,"github":"https://github.com/kazupon/gunshi","clone":"git clone https://github.com/kazupon/gunshi.git","description":"Gunshi: Modern javascript command-line library","language":"TypeScript","stars":462,"topics":["args","argument","argv","cli","option"],"license":"MIT","category":"cli-tools","readme_excerpt":"🏯 Gunshi [![Version][npm-version-src]][npm-version-href] [![CI][ci-src]][ci-href] [![InstallSize][install-size-src]][install-size-src] [![JSR][jsr-src]][jsr-href] Gunshi is a modern javascript command-line library [!TIP] gunshi (軍師) is a position in ancient Japanese samurai battle in which a samurai devised strategies and gave orders. That name is inspired by the word \"command\". Features Gunshi is designed to simplify the creation of modern command-line interfaces: - 📏 Simple & Universal : Run commands with simple API and support for universal runtime (Node.js, Deno, Bun). - ⚙️ Declarative & Type Safe : Configure commands declaratively with full TypeScript support and type-safe argument parsing by args-tokens - 🧩 Composable & Lazy : Create modular sub-commands with context sharing and lazy loading for better performance. - 🎨 Flexible Rendering : Customize usage generation, validation errors, and help messages with pluggable renderers. - 🌍 Internationalization : Built with global users in mind, featuring locale-aware design, resource management, and multi-language support. - 🤖 Agent-aware : Detect AI coding-agent environments through the stable gunshi/agent utility without changing CLI behavior automatically. - 🔌 Pluggable : Extensible plugin system with dependency management and lifecycle hooks for modular CLI development. Installation Usage About more details and usage, see documentations Showcases - pnpmc: PNPM Catalogs Tooling - sourcemap-publisher: A tool to publis","default_branch":null,"files":null,"tree":[],"storefront":"/r/kazupon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kazupon/gunshi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}