{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "php -r \"\nrequire '\/var\/www\/dev.campus.systemische-tools.de\/vendor\/autoload.php';\n\n\/\/ Read YAML files\n\\$yamlWeb = file_get_contents('\/var\/www\/dev.campus.systemische-tools.de\/config\/profiles\/cary-web.yaml');\n\\$yamlPdf = file_get_contents('\/var\/www\/dev.campus.systemische-tools.de\/config\/profiles\/cary-pdf.yaml');\n\n\/\/ Parse YAML to array\n\\$dataWeb = yaml_parse(\\$yamlWeb);\n\\$dataPdf = yaml_parse(\\$yamlPdf);\n\n\/\/ Convert to JSON\necho 'Cary Web JSON length: ' . strlen(json_encode(\\$dataWeb)) . \\\"\\\\n\\\";\necho 'Cary PDF JSON length: ' . strlen(json_encode(\\$dataPdf)) . \\\"\\\\n\\\";\necho \\\"\\\\nParsing successful!\\\\n\\\";\n\"",
"description": "Parse YAML profiles"
}
}