typer-patterns
Installation
SKILL.md
typer-patterns
Provides modern type-safe Typer CLI patterns including type hints, Enum usage, sub-app composition, and Typer() instance patterns for building maintainable command-line applications.
Core Patterns
1. Type-Safe Commands with Type Hints
Use Python type hints for automatic validation and better IDE support:
import typer
from typing import Optional
from pathlib import Path
app = typer.Typer()