cli-architecture
CommunityBuild robust CLIs with clean command dispatch.
Authorgestrich
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building CLI tools with multiple commands often leads to scattered argument parsing, inconsistent entry points, and unclear parameter flow. This skill standardizes the structure to deliver predictable, testable CLIs.
Core Features & Use Cases
- Single entry point dispatcher: Routes commands from a single main.py to dedicated handlers.
- Explicit parameter flow: Commands receive concrete parameters, not environment reads, improving testability.
- Command organization: Clear separation between entry point, parsing layer, and business logic.
- Use Case: Create a multi-command tool (e.g., greet, status, config) with easy extension and consistent behavior.
Quick Start
Build a minimal CLI with a main.py dispatcher and a sample command, then run: python -m mypackage greet --name Alice
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: cli-architecture Download link: https://github.com/gestrich/python-architecture/archive/main.zip#cli-architecture 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.