Files
espocrm/schema/metadata/app/consoleCommands.json
Tomáš Procházka 19fe743c1c Fixes json schema
2025-06-19 22:54:24 +02:00

40 lines
1.3 KiB
JSON

{
"$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."
}
}
}
}