Code
How pallets/click is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new parameter type
- Subclass click.ParamType in src/click/types.py and implement convert() method
- Export the new type from src/click/__init__.py
Add a new built-in decorator for common CLI patterns
- Implement decorator function in src/click/decorators.py following existing patterns
- Export decorator from src/click/__init__.py
- Add documentation in docs/
Add shell completion support for a new shell
- Add shell-specific completion class and script template in src/click/shell_completion.py
Change the public API
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- The file list is newer than the written guide, so descriptions and suggested changes may describe older code.