How-To Guides
Create a Project
Create projects from templates with CyanPrint
Create a Project
Learn how to create new projects from templates using the CyanPrint CLI.
cyanprint create <TEMPLATE_REF> [PATH]
Template Reference Format
<TEMPLATE_REF> uses the format: <username>/<template-name>[:<version>]
username- The template author or organizationtemplate-name- The name of the templateversion- (Optional) An integer version number. If omitted, the latest version is used
Examples
# Create in current directory (latest version)cyanprint create atomicloud/starter# Create in specific directorycyanprint create atomicloud/starter my-project# Create a specific versioncyanprint create atomicloud/starter:1 my-project
Options
| Option | Default | Description |
|---|---|---|
-c, --coordinator-endpoint | http://coord.cyanprint.dev:9000 | Coordinator service URL |
You can also set the coordinator endpoint via the CYANPRINT_COORDINATOR environment variable.
What Happens
CLI fetches template from registry
Target directory is created if needed
Coordinator runs the template (handles compositions automatically)
You answer questions interactively
Project files are generated