Generate Licenses
cc_generate_licensesGenerate a third-party license file for npm or Python projects by reading package.json or pip packages. Outputs licenses in text, JSON, or CSV format, helping you comply with open-source license obligations.
Instructions
Generates a third-party license file for an npm or Python project.
Args:
project_dir (string): Project directory
output_path (string): Output file
format (string): "text" | "json" | "csv"
Reads package.json (npm) or pip packages and collects license info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Project directory | |
| output_path | Yes | Output file | |
| format | No | Format | text |