update
This commit is contained in:
30
module/Application/config/cli/laminasCli.config.php
Normal file
30
module/Application/config/cli/laminasCli.config.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* @Author: 863465124@qq.com
|
||||
* @Date: 2022-07-12 22:22:02
|
||||
* @LastEditors: 863465124 863465124@qq.com
|
||||
* @LastEditTime: 2022-07-12 22:27:57
|
||||
* @FilePath: /RemoteWorking/module/Application/config/cli/laminasCli.config.php
|
||||
*/
|
||||
|
||||
use Application\Command\RunCommand;
|
||||
use Application\Command\TestCommand;
|
||||
use Application\Command\Swoole\Server\SwItemTipCommand;
|
||||
use Application\Command\Swoole\Server\SwLogCommand;
|
||||
use Application\Command\Swoole\Server\SwTimerCommand;
|
||||
use Application\Command\Swoole\Server\WebSocketCommand;
|
||||
use Application\Command\Swoole\Server\SwTaskCommand;
|
||||
use Application\Command\UnitTestCommand;
|
||||
|
||||
return [
|
||||
'commands' => [
|
||||
'test' => TestCommand::class, // 测试
|
||||
'oprtlog' => SwLogCommand::class, // 系统操作日志
|
||||
'switemtip' => SwItemTipCommand::class, // webSocket
|
||||
'sw:timer' => SwTimerCommand::class, // 定时任务
|
||||
'swTaskSv' => SwTaskCommand::class, // 异步任务服务
|
||||
'ws:start' => WebSocketCommand::class,
|
||||
'unitTest:start' => UnitTestCommand::class,
|
||||
'run:server' => RunCommand::class,
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user