Files
Cloudreve/application/index/command/Task.php
T
2018-09-05 15:55:51 +08:00

20 lines
398 B
PHP

<?php
namespace app\index\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;
class Task extends Command
{
protected function configure()
{
$this->setName('run')->setDescription('Start processing tasks for Cloudreve');
}
protected function execute(Input $input, Output $output)
{
$output->writeln("TestCommand:");
}
}
?>