mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2024-04-21 12:31:40 +00:00
20 lines
398 B
PHP
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:");
|
|
}
|
|
}
|
|
?>
|