cli-architecture-pattern
Installation
SKILL.md
CLI Architecture Pattern
This is a reference pattern. Learn from the approach, adapt to your context — don't copy verbatim.
Problem: Infrastructure operations scattered across shell scripts, manual commands, and deployment pipelines become hard to maintain and inconsistent.
Solution: Structured CLI tools with uniform entry points.
Why This Pattern?
Benefits:
- Consistency: Same commands work locally, in CI/CD, and deployment scripts
- Readability:
pnpm deploy:devis clearer than raw AWS CLI commands - Testability: CLI commands can be tested independently
- Reusability: Share logic across different entry points
- Documentation: Commands are self-documenting with
--help