@crystallize/cli

3.31.7 • Public • Published

Crystallize CLI

Build Status

Bootstrap an app or tenant running on the headless ecommerce and GraphQL based Product Information Management service Crystallize.

Usage

You'll need the following installed to use Crystallize CLI:

To create a new app using Crystallize, simply run the following command:

npx @crystallize/cli <project-name>

This will walk you through creating a project, allowing you to choose which template and preferences you want to use.

Show help

npx @crystallize/cli --help

Bootstrapping a tenant

npx @crystallize/cli --bootstrap-tenant

or

npx @crystallize/cli -b

This will bootstrap an existing tenant with example data

Templates

The default mode of the Crystallize CLI is to use a template. Each template has different options that can be chosen to configure the initial project to suit your needs.

Current templates include:

  • Complete Ecommerce (Next.js + React)
  • Content & Commerce (Next.js + React)
  • Gatsby (React)
  • Nuxt (Vue.js)
  • Service API (Node.js)
  • React Native (beta)

Contributing

If you'd like to help improve our CLI tool, check out the contributing guidelines for an overview of the codebase and structure.

Readme

Keywords

none

Package Sidebar

Install

npm i @crystallize/cli

Weekly Downloads

60

Version

3.31.7

License

MIT

Unpacked Size

921 kB

Total Files

47

Last publish

Collaborators

  • crystallize-admin