https://github.com/crystallizeapi/crystallize-cli-next
https://github.com/crystallizeapi/crystallize-cli-next
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/crystallizeapi/crystallize-cli-next
- Owner: CrystallizeAPI
- License: mit
- Created: 2022-09-01T19:05:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T19:24:47.000Z (10 months ago)
- Last Synced: 2024-10-12T17:08:25.503Z (9 months ago)
- Language: TypeScript
- Size: 288 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
npx @crystallize/cli-next@latest --help
```## Features
### Install a new project based on a Boilerplate
```bash
npx @crystallize/cli-next@latest install ~/my-projects/my-ecommerce
```This will create a new folder, download the boilerplate and `npm install` it.
```bash
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
```bash
npx @crystallize/cli-next@latest dump ~/my-projects/mydumpfolder tenantIdentifier
```This is dumping a Tenant.
### Install a new project based on a Boilerplate
```bash
npx @crystallize/cli-next@latest import ~/my-projects/mydumpfolder/spec.json aNewTenant
```This is importing a Tenant based on a dump
### More Options
```bash
npx @crystallize/cli-next@latest --help
```