Command Line Interface (CLI) commands
Mautic may require you to use the command line (CLI). Listed below are the available CLI commands.
Note
You can find this list (and others - for example commands relating to Doctrine and other vendors) by running this command: bin/console
You must be in the Mautic root directory to run the CLI commands.
Format: command [options] [arguments]
Options
Options |
Description |
---|---|
-h, --help |
Display this help message |
-q, --quiet |
Do not output any message |
V, --version
--ansi
--no-ansi
|
Display this app version
Force ANSI output
Disable ANSI output
|
-n, --no-interaction |
Do not ask any interactive question |
-s, --shell
--process-isolation
|
Launch the shell.
Launch commands from shell as a separate process.
|
-e, --env=ENV
--no-debug
|
The Environment name. [default: “prod”]
Switches off debug mode.
|
-v
-vv
-vvv
--verbose
|
Increase the verbosity of messages:
1. for normal output,
2. for more verbose output and
3. for debug
|
Mautic commands
These are the commands you may need to use in relation to your Mautic instance. Add a bin/console
before Mautic command.
Example
bin/console mautic:segments:update
Doctrine commands
Command |
Description |
---|---|
|
Installs Mautic sample data, overwriting existing data. |