CLI Commands

📘

Alpha Stuff!

Please note the CLI is in active early development - these commands may (will!) change over time. Suggestions for further functionality welcomed.

The CFWheels CLI can be installed via install cfwheels-cli. Once that's done, you will have access to the following commands. Help is available from within the CLI via help wheels

All these commands should be prefixed with wheels , i.e wheels new

Command

Alias

Description

new

Start a new app via wizard

scaffold

Create full CRUD model, controller & view files including DB migration files.

generate

g

Create single controller, model, view files, test stubs or add properties to existing models

dbmigrate

db

Create DB migration files and migrate your database

test

Run app & plugin tests (or core tests if you're on the master branch)

info

Gets whatever information we can about the current CFWheels installation

reload

r

Try and reload the running application

plugin

List, install and remove plugins