Skip to content

app > consoleCommands

Path: metadata > app > consoleCommands.

Console commands. A command-name => defs map.

Example:

{
    "myCommand": {
        "className": "Espo\\Modules\\MyModule\\Classes\\ConsoleCommands\\MyCommand",
        "listed": true
    }
}

className

class-string<Espo\Core\Console\Command>

A command class. Should implement Espo\Core\Console\Command interface.

listed

boolean

Whether the command is listed when running bin/command.