Skip to content

CrystallizeAPI/crystallize-cli-next

Repository files navigation

Crystallize CLI


This repository is what we call a "subtree split": a read-only copy of one directory of the main repository.

If you want to report or contribute, you should do it on the main repository: https://github.com/CrystallizeAPI/tools


Help

npx @crystallize/cli-next@latest --help

Features

Install a new project based on a Boilerplate

npx @crystallize/cli-next@latest install ~/my-projects/my-ecommerce

This will create a new folder, download the boilerplate and npm install it.

npx @crystallize/cli-next@latest install ~/my-projects/my-ecommerce --bootstrap-tenant

This will do the same as the previous command but it will create a new Tenant with clean data from the Boilerplate.

Dump a tenant

npx @crystallize/cli-next@latest dump ~/my-projects/mydumpfolder tenantIdentifier

This is dumping a Tenant.

Install a new project based on a Boilerplate

npx @crystallize/cli-next@latest import ~/my-projects/mydumpfolder/spec.json aNewTenant

This is importing a Tenant based on a dump

More Options

npx @crystallize/cli-next@latest --help