This commit is contained in:
xl
2024-09-03 14:47:29 +08:00
parent 8d5e8c4b3f
commit d84ddd23c8
2 changed files with 9 additions and 7 deletions
+2
View File
@@ -10,6 +10,7 @@ use Kiri;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
/**
@@ -34,6 +35,7 @@ class GiiCommand extends Command
->addOption('make', 'm', InputArgument::OPTIONAL)
->addOption('table', 't', InputArgument::OPTIONAL)
->addOption('database', 'd', InputArgument::OPTIONAL)
->addOption('all-table', null, InputOption::VALUE_NONE, 'is run daemonize')
->setDescription('php kiri.php sw:gii --table u_user --database users --make model');
}