Generate a command-line application with Click/Typer, configuration, and packaging
Create a Python CLI application template for:
Application Name: {{APP_NAME}}
CLI Framework: {{FRAMEWORK}} (Click/Typer/argparse)
Features: {{FEATURES}}
Generate complete CLI structure:
1. **Entry Point (cli.py):**
- Command group setup
- Global options (verbose, config file)
- Version flag
- Help text formatting
2. **Commands (commands/):**
- Subcommand organization
- Command decorators
- Option/argument definitions
- Validation callbacks
- Progress indicators
- Rich output formatting
3. **Configuration (config.py):**
- Config file loading (YAML/TOML/JSON)
- Environment variable overrides
- Default value handling
- Config validation
4. **Utilities (utils/):**
- Output formatting helpers
- File operations
- API client setup
- Error handling
5. **Logging (logging_config.py):**
- Configurable log levels
- File and console handlers
- Structured logging
6. **Packaging (pyproject.toml):**
- Entry points configuration
- Dependencies
- Build system
- Script definitions
7. **Testing (tests/):**
- CLI runner tests
- Command output assertions
- Mock configurations
8. **Documentation:**
- README with examples
- Man page generation
- Shell completion scripts
Include interactive prompts and confirmation dialogs.Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{APP_NAME][{FRAMEWORK][{FEATURES]