Command Line Interface (CLI)
The Command Line Interface (CLI) allows a user to run system and user-generated commands in the terminal. The CLI has access to all of the ExpressionEngine resources, and can be used to update the system, clear caches, and much more.
By default the CLI is located system/ee/eecli.php
.
- Basic Usage
- Built In Commands
- Clear Cache
- List
- Make
- make:action - Creates a new action for an add-on
- make:addon - Creates a new add-on
- make:command - Creates a new CLI command for an add-on
- make:extension-hook - Implements an EE extension hook in an add-on
- make:migration - Creates a new migration
- make:model - Creates a new model for an add-on
- make:prolet - Creates a new prolet for an add-on
- make:tag - Creates a new tag for an add-on
- make:widget - Generates widgets for existing add-ons
- Migrate
- migrate - Runs specified migrations (all, core, or add-ons)
- migrate:addon - Runs add-on migrations
- migrate:all - Runs core migrations, then each add-on’s migrations
- migrate:core - Runs core migrations
- migrate:reset - Rolls back all migrations
- migrate:rollback - Rolls back most recent migration group
- Sync
- Update ExpressionEngine
- Creating a Command
- Defining Input
- Displaying Output