Skip to content

Create Command CLI

ABCrimson edited this page Mar 7, 2026 · 2 revisions

Create Command CLI

Scaffold a new @crimson_dev/command project instantly.

Usage

npm create @crimson_dev/command
# or
pnpm create @crimson_dev/command
# or
yarn create @crimson_dev/command

Templates

Template Description
react-basic Inline command palette with search, groups, items
react-dialog Dialog mode with Mod+K shortcut and overlay
react-full Full-featured: frecency, WASM search, virtualization, shortcuts

What's Generated

my-command-palette/
  package.json          # @crimson_dev/command + command-react deps
  tsconfig.json         # ES2026 target, strict mode
  src/
    command-palette.tsx  # Ready-to-use component

Options

npm create @crimson_dev/command -- --template react-dialog --name my-app

Clone this wiki locally