zhamao-framework/src/ZM/Command/SystemdCommand.php

21 lines
534 B
PHP
Raw Normal View History

2020-08-31 10:11:06 +08:00
<?php
namespace ZM\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class SystemdCommand extends Command
{
// the name of the command (the part after "bin/console")
protected static $defaultName = 'systemd:generate';
protected function execute(InputInterface $input, OutputInterface $output): int {
2020-08-31 10:11:06 +08:00
//TODO: 写一个生成systemd配置的功能给2.0
return Command::SUCCESS;
}
}