Skip to content

About

Scaffold a new Cella app: pnpm create @cellajs/cella

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

@cellajs/create-cella

CLI tool to scaffold a new Cella project from the template.

Usage

pnpm create @cellajs/cella my-app

CLI Options

pnpm create @cellajs/cella [directory] [options]
Option Description
--template <path> Use a custom template (local path or github:user/repo)
--app-index <number> Set this app's number for its dev ports (0-9, not 4): frontend 3000 + N, services 4000 + 10N, database 5432 + 10N
--admin-email <email> Set the admin email for the initial seed user
-v, --version Output the current version
-h, --help Display the help message

What It Does

  1. Creates a new project from a Cella template snapshot
  2. Lets you choose an app number that is free on this machine, and the seed admin email
  3. Cleans the template, generates project-specific config and points coding agents at the template's rules and skills
  4. Initializes a fresh git repository with an initial commit
  5. Adds the Cella upstream remote for future syncs

Development

cd cli/create-cella

# Type check
pnpm ts

# Lint
pnpm lint:fix

# Try it out
pnpm try

# Run tests
pnpm test

# Run locally
pnpm start

# Build for npm publish
pnpm build

About

Scaffold a new Cella app: pnpm create @cellajs/cella

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages