AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# C.105 SymfonyConsoleTask Executes Symfony2 console commands Table C.138:聽Attributes NameTypeDescriptionDefaultRequiredcommandStringThe Symfony Console command to executen/aYesconsoleStringThe path to symfony console applicationapp/consoleNodebugBooleanThe symfony cli debug modetrueNopropertyNameStringThe name of the property to store the application output inn/aNocheckReturnBooleanWhether to check the return code.falseNo C.105.1 Examples Simple example ``` <SymfonyConsole command="cache:clear"/> ``` Complex example ``` <SymfonyConsole command="cache:warmup"> <arg name="env" value="prod" /> <arg value="some/path/or/single/value" quotes="true"> </SymfonyConsole> ``` C.105.2 Supported Nested Tags - `arg` Table C.139:聽Attributes NameTypeDescriptionDefaultRequirednameStringthe name for this argument, -- will be appendedn/aNovalueStringthe value for the argumentn/aNoquotesStringset to true if the value should be enclosed in double quotesfalseNo