cocos_init_project
Initialize a new Cocos Creator project by copying templates, configuring package.json with project UUID and version, and creating standard asset directories.
Instructions
Initialize a new Cocos Creator project from a template.
Copies a built-in template (default empty-2d) into dst_path,
patches package.json with a fresh project UUID and the right
creator version, and creates standard assets/ subdirectories.
Use cocos_list_creator_installs first to see available versions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_path | Yes | ||
| creator_version | No | ||
| template | No | empty-2d | |
| project_name | No |