configure() protected method

Configure the command options.
protected configure ( )
Esempio n. 1
0
 /**
  * Configure command.
  */
 public function configure()
 {
     parent::configure();
     $this->addArgument('name', InputArgument::OPTIONAL, 'Repository name')->addArgument('description', InputArgument::OPTIONAL, 'Repository description');
 }
Esempio n. 2
0
 /**
  * Configure the command options.
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption('dev', 'd', InputOption::VALUE_NONE, 'If set, dev-master branch of package will be installed');
 }
Esempio n. 3
0
 /**
  * Configure command.
  */
 public function configure()
 {
     parent::configure();
     $this->addArgument('name', InputArgument::OPTIONAL, 'Repository name')->addArgument('github_username', InputArgument::OPTIONAL, 'Github username');
 }
Esempio n. 4
0
 /**
  * Configure the command options.
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption('output-file', 'o', InputOption::VALUE_REQUIRED, 'If set, config/services.php will not be changed and only shows result on standard output');
 }