Extract Classes
cc_extract_classesExtract Python classes and functions from a file as separate text blocks for code review and documentation. Specify a file path; optionally save output to a directory. Streamlines analysis of code structure.
Instructions
Extracts Python classes and functions from a file as separate text blocks.
Args:
path (string): Path to the Python file
output_dir (string, optional): Output directory (otherwise display only)
Useful for code review and documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the Python file | |
| output_dir | No | Output directory |