23 行
510 B
PHP
23 行
510 B
PHP
<?php
|
|
|
|
namespace addons\shopro_aliyun_express\command;
|
|
|
|
use addons\shopro_aliyun_express\library\Installer;
|
|
use think\console\Command;
|
|
use think\console\Input;
|
|
use think\console\Output;
|
|
|
|
class InstallFull extends Command
|
|
{
|
|
protected function configure()
|
|
{
|
|
$this->setName('shopro_aliyun_express:install')
|
|
->setDescription('安装 Shopro 阿里云快递查询插件');
|
|
}
|
|
|
|
protected function execute(Input $input, Output $output)
|
|
{
|
|
Installer::run($output);
|
|
}
|
|
}
|