Generate Licenses
cc_generate_licensesGenerates a third-party license file for npm or Python projects by scanning dependencies and outputting in text, JSON, or CSV format.
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 |
|---|---|---|---|
| format | No | Format | text |
| output_path | Yes | Output file | |
| project_dir | Yes | Project directory |