예제 #1
0
 public function doConfig(CommandConfig $config)
 {
     $config->addArgument('--boolean', 0, "0");
     $config->addArgument('string');
     $config->addArgument('array', 2, []);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function doConfig(CommandConfig $config)
 {
     $config->addArgument('-o', 1);
 }
예제 #3
0
 public function doConfig(CommandConfig $config)
 {
     $config->addArgument('--name');
 }