logo

CLI

Project scaffolding tool for creating ready-to-use applications

The CLI is the entry point for creating projects within this frontend tooling ecosystem. It provides a fast and consistent way to scaffold applications using preconfigured templates. You can choose between SPA and MPA architectures, select styling and scripting options, and integrate your preferred package manager.

The tool supports both interactive and non-interactive modes, making it suitable for local development and CI environments. Generated projects are fully standalone, production-ready, and require no additional setup. The CLI focuses on simplicity, flexibility, and predictable project structure.

Quick Start

Terminal
npx @razerspine/create-app my-app

Options

CLI Flags
--app-type spa | mpa
--style scss | less
--script js | ts
--pm npm | pnpm | yarn | bun
--no-install
--dry-run

Non-interactive Mode

CI Usage
npx @razerspine/create-app my-app \
  --app-type spa \
  --style scss \
  --script ts \
  --no-install

How It Works

Pipeline
resolve template → copy files → patch package.json → install