Exemplo n.º 1
0
 /**
  * Configure command
  *
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::NAME)->setDescription('List files available for download')->addOption(self::OPTION_FILTER_VERSION, null, InputOption::VALUE_REQUIRED, 'Version to filter by (1.9.2.1, 1.9.*, etc)')->addOption(self::OPTION_FILTER_TYPE, null, InputOption::VALUE_REQUIRED, 'Type to filter by (' . implode(', ', $this->typeFilters) . ')');
     parent::configure();
 }
 /**
  * Configure command
  *
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::NAME)->setDescription('Download a release or patch')->addArgument(self::ARGUMENT_NAME, InputArgument::REQUIRED, 'The name of the file to download')->addArgument(self::ARGUMENT_DESTINATION, InputArgument::OPTIONAL, 'The destination where the file should be downloaded')->addOption(self::OPTION_EXTRACT, 'x', InputOption::VALUE_NONE, 'When given, the downloaded file will be extracted if possible');
     parent::configure();
 }
Exemplo n.º 3
0
 /**
  * Configure command
  *
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::NAME)->setDescription('List files available for download');
     parent::configure();
 }
 /**
  * Configure command
  *
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::NAME)->setDescription('Configure your account ID and access token');
     parent::configure();
 }