/** * Configure command. */ public function configure() { parent::configure(); $this->addArgument('name', InputArgument::OPTIONAL, 'Repository name')->addArgument('description', InputArgument::OPTIONAL, 'Repository description'); }
/** * 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'); }
/** * Configure command. */ public function configure() { parent::configure(); $this->addArgument('name', InputArgument::OPTIONAL, 'Repository name')->addArgument('github_username', InputArgument::OPTIONAL, 'Github username'); }
/** * 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'); }