LogoCyanPrint
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 organization
  • template-name - The name of the template
  • version - (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 directory
cyanprint create atomicloud/starter my-project
# Create a specific version
cyanprint create atomicloud/starter:1 my-project

Options

OptionDefaultDescription
-c, --coordinator-endpointhttp://coord.cyanprint.dev:9000Coordinator 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

Next Steps