コード例 #1
0
 /**
  * @inheritdoc
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('hshn:npm:install')->setDescription('npm install');
 }
コード例 #2
0
ファイル: NpmRunCommand.php プロジェクト: hshn/HshnNpmBundle
 /**
  * @inheritDoc
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('hshn:npm:run')->setDescription('npm run')->addArgument('npm-command', InputArgument::REQUIRED, 'npm command');
 }