protected function configure() { $this->addOption('--set', '-s', InputOption::VALUE_REQUIRED, 'The phpmig.sets key'); $this->addOption('--bootstrap', '-b', InputOption::VALUE_REQUIRED, 'The bootstrap file to load'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('down')->addArgument('version', InputArgument::REQUIRED, 'The version number for the migration')->setDescription('Revert a specific migration')->setHelp(<<<EOT The <info>down</info> command reverts a specific migration <info>phpmig down 20111018185412</info> EOT ); }