Skip to content

EspoCRM – Open Source CRM Application

1.3 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://www.espocrm.com/schema/metadata/app/consoleCommands.json",
    "title": "app/appParams",
    "description": "Console commands.",
    "type": "object",
    "additionalProperties": {
        "type": "object",
        "description": "A command name. In camelCase format.",
        "properties": {
            "className": {
                "type": "string",
                "description": "An implementation class name. Should implement Espo\\Core\\Console\\Command interface."
            },
            "listed": {
                "type": "boolean",
                "description": "Whether the command is listed when running bin/command."
            },
            "noSystemUser": {
                "type": "boolean",
                "description": "Do not load the system user."
            },
            "allowedOptions": {
                "type": "array",
                "items": {
                    "type": "string"
                },
                "description": "Allowed options."
            },
            "allowedFlags": {
                "type": "array",
                "items": {
                    "type": "string"
                },
                "description": "Allowed flags."
            }
        }
    }
}