Skip to content

Command Line Tools

CLI Reference

The wheels binary is the single entry point for everything you do with a Wheels app from the terminal — scaffolding a new project, generating code, running migrations, running tests, starting the dev server, inspecting routes, driving the REPL. One install, one name on your $PATH.

You’ll use this for:

  • Creating a new Wheels project and scaffolding models, controllers, views, and migrations.
  • Your daily dev loop — wheels generate, wheels migrate, wheels test, wheels server — without leaving the shell.
  • Inspecting and diagnosing an app you didn’t write — routes, stats, dependency checks, and the built-in REPL.

The v4 wheels binary is LuCLI renamed, with a Wheels Module bolted on. LuCLI is a general-purpose CFML command runner — it provides the server lifecycle, REPL, CFML execution, system and secrets helpers, module and dependency management, AI helpers, and shell completion. The Wheels Module adds the framework-specific commands — generate, migrate, seed, test, routes, console, and the rest. Both surfaces dispatch from the same binary:

  • wheels generate model User — Wheels Module command.
  • wheels server start — LuCLI core command.

You don’t install them separately, and you don’t switch contexts between them. Everything below is namespaced by which surface it comes from so you know where a given feature lives, but from your terminal it’s all wheels <subcommand>.

Framework-specific commands contributed by the Wheels Module. These are what you reach for daily.

General-purpose commands inherited from LuCLI. Available in any CFML project, Wheels or not.

The wheels binary exposes its commands as MCP tools so an AI agent can drive the same operations you run from the terminal. wheels mcp wheels is the canonical stdio surface — auto-discovered from cli/lucli/Module.cfc and usable from any MCP-aware client. A handful of CLI-only commands (start, stop, new, console, browser, d, and the mcp meta command itself) are hidden from the MCP tool list because their semantics don’t translate to a single tool call. A legacy HTTP endpoint at /wheels/mcp still exists for backward compatibility but is deprecated — prefer the stdio surface for new integrations. See MCP Integration for setup, the full tool catalog, and the deprecation timeline.