You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudreve/application/index/command/Task.php

20 lines
398 B

<?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:");
}
}
?>