building-cli-apps
CommunityBuild robust CLIs with confidence.
Authormhagrelius
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Develop proper, reliable command-line interfaces by providing structured guidance on argument parsing, subcommands, IO handling, testing, and distribution.
Core Features & Use Cases
- Guidance on choosing when to use CLI vs TUI vs GUI and selecting appropriate libraries for argument parsing.
- Patterns for streams (stdout/stderr), exit codes, interactive vs non-interactive modes, configuration, and signal handling.
- Concrete usage examples such as scaffolding a CLI with subcommands, tests, and a distribution plan.
Quick Start
Start by outlining a small CLI tool that uses a modern parsing library, supports subcommands, handles stdin and stdout, includes basic error handling and tests, and demonstrates distribution.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: building-cli-apps Download link: https://github.com/mhagrelius/dotfiles/archive/main.zip#building-cli-apps Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.