framefox [namespace:]command [options].
Command Categories
Framefox CLI commands are organized into logical namespaces:Main Commands
Core commands for project setup and development:init- Initialize a new Framefox projectrun- Start the development server
Create Commands
Generate application components:create:controller- Create a new controllercreate:entity- Create a new entitycreate:crud- Generate CRUD controller for an entity
Database Commands
Manage your database and migrations:database:create- Create the databasedatabase:create-migration- Generate a migration filedatabase:upgrade- Apply pending migrationsdatabase:downgrade- Revert migrationsdatabase:status- Check migration statusdatabase:drop- Drop the databasedatabase:diagram- Generate database diagramdatabase:clear-migration- Clear migration files
Debug Commands
Development and debugging tools:debug:router- Display all registered routesdebug:service- Display service container informationdebug:config- Show configuration values
Cache Commands
Manage application cache:cache:clear- Clear all cachescache:warmup- Pre-warm the cache
Command Syntax
All Framefox commands follow a consistent syntax:Examples
Global Options
Most commands support the following options:-h, --help- Display help information-v, --verbose- Enable verbose output
Getting Help
To see all available commands:Command Output
The CLI uses colored output to make information easier to read:- Green - Success messages
- Orange - Information and highlights
- Yellow - Warnings
- Red - Errors
- Cyan - Values and data
Next Steps
Initialize Project
Create a new Framefox project
Run Server
Start the development server
Create Components
Generate controllers and entities
Manage Database
Work with migrations