ARCHE
FamiliesDocsExamplesBlogGitHub ↗
Documentation

Start

  • Getting started
  • Philosophy

Guides

  • First hour
  • Agent context
  • Verification
  • Package managers
  • Scaffold lifecycle
  • Showcase & portfolio

Walkthroughs

  • TypeScript fullstack
  • Convex product
  • Rust API & fullstack
  • Solana family
  • Customize & experiments
  • Automation (JSON/MCP)

CLI

  • Overview
  • Flags
  • Subcommands
  • Generated output

Presets

  • Preset catalog

Stack

  • TypeScript architecture
  • Convex
  • Rust
  • Solana
  • Authentication
  • Prisma store
  • tRPC

Operations

  • Deployment
  • Environment variables
  • Workers & queues
  • CI & testing
  • Scaling
  • Security
  • Troubleshooting

Reference

  • Stack links
  • Capabilities
  • This source repo
  • Code examples
← Documentation

CLI subcommands

JSON create, validate, agent-docs repair, history, and MCP for automation.

1 min read

create-json

Machine-readable create for agents and CI:

terminal
bun run dev:cli -- create-json '{"projectName":"my-app","destinationDir":"/tmp/my-app","preset":"typescript-fullstack"}'

Use when a human prompt is not available. Pair with validate before writing to disk in sensitive environments.

validate

Check compatibility of options without scaffolding:

terminal
bun run dev:cli -- validate '{"projectName":"my-app","database":"mongodb","orm":"prisma"}'

Returns validation errors from the registry—useful in pre-commit or agent tool loops.

add agent-docs

Regenerate or repair agent context in an existing tree:

terminal
bun run dev:cli -- add agent-docs ./my-app

Use after you rename packages or change deployment/env conventions and need .docs/ + AGENTS.md brought back in sync.

history

Shows recent scaffold operations recorded by the CLI (local developer aid).

mcp

Loading diagram…

Starts the stdio MCP server so external agents can call Arche tools without shelling to create manually:

terminal
bun run dev:cli -- mcp

Wire this into agent hosts that support MCP tool discovery. Same truth as the CLI—no separate capability story.