All tags / #cli

#cli

8 posts

wheels console: The Debugging Move You're Not Using

Peter Amiri

A REPL inside your running app: models resolve, scopes chain, the DI container answers, settings read back. The sessions that replace writeDump-and-refresh archaeology, the slash-commands, and why console and repl are different tools that look alike.

Seeding Your Database the Idempotent Way

Peter Amiri

Wheels 4.0 ships a convention-based seeder built around seedOnce() — an idempotent helper that creates a record only if a matching one doesn't already exist, wrapped in a transaction that rolls the whole run back on any failure. This is the worked guide: file conventions, the CLI, composite uniqueness, and the sharp edges.

Wheels + Claude: Building a Feature via the stdio MCP

Peter Amiri

Wheels 4.0 ships a stdio MCP server that exposes the CLI to AI editors — not as a chat sidekick, but as a tool surface a model can call. This post walks the architecture (reflection over a single CFC), builds a commenting feature end-to-end via Claude, and is honest about the config-template drift I hit while writing it.

Migrations That Survive a Team: the Wheels 4.0 Migrator

Peter Amiri

A broad how-to on the Wheels 4.0 migrator: write up()/down() migrations, drive the TableDefinition column builder (including the three-column timestamps() and the columnNames-preferred helpers), seed with inline SQL, and run the migrate CLI — including the doctor/info/forget/pretend commands that keep a shared dev database honest.

Wheels CLI: Modern Commands for Faster, Smarter Wheels 3.0 Development

Zain Ul Abideen

Introduction In our previous article, we explored the classic Wheels CLI commands that have supported Wheels developers for years and continue to work in Wheels 3.x. Those commands helped developer...

Wheels CLI: The Hidden Productivity Booster for Wheels Developers

Zain Ul Abideen

\ Introduction Wheels Framework is already known for rapid development, but when combined with the \Wheels CLI\(/guides/command-line-tools/cli-overview), productivity increases dramatically. Many d...

Wheels 3.0: Setting Up Your Development Environment

Peter Amiri

Accompanying Video

Starting a New CFWheels Project with the CLI

Peter Amiri

!(https://cfwheels.org/blog/wp-content/uploads/2022/03/wheels-generate-app-larger.gif)(https://cfwheels.org/blog/wp-content/uploads/2022/03/wheels-generate-app-larger.gif)

Newsletter

Release notes and new posts, once a month. No spam.

Prefer RSS? Subscribe to the feed →