Thanks to visit codestin.com
Credit goes to docs.b3-cf-stack.bbyb.dev

Skip to content

CLI Reference

create-b3-cf-app

Scaffolds a new project by walking you through interactive prompts.

Options

No CLI flags currently — just run it and follow the prompts.

Prompts

PromptDefaultDescription
Project directory./my-cf-appWhere to create the project
DescriptionA Cloudflare Workers + React applicationShort project description
Run bun install?YesInstall dependencies after scaffolding
Init git?YesInitialize a git repository

Output

my-app/
├── apps/
│   ├── api/          # Hono API — edge Worker
│   └── web/          # React SPA — Vite + Tailwind
├── packages/
│   ├── core/         # Shared DB, auth, utilities
│   └── ui/           # Radix component library
├── biome.json        # Lint + format
├── wrangler.jsonc    # Worker config
├── turbo.json        # Monorepo task runner
├── knip.json         # Dead code analysis
├── lefthook.yml      # Git hooks
└── .github/          # CI + deploy workflows