Exemplo n.º 1
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), array(array('list', 'L', InputOption::VALUE_NONE, 'Shows the available releases to rollback to')));
 }
Exemplo n.º 2
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), array(array('migrate', 'm', InputOption::VALUE_NONE, 'Run the migrations'), array('seed', 's', InputOption::VALUE_NONE, 'Seed the database after migrating the database')));
 }
Exemplo n.º 3
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), array(array('clean-all', null, InputOption::VALUE_NONE, 'Cleans up all non-current releases')));
 }
Exemplo n.º 4
0
 /**
  * Get the console command options.
  *
  * @return array
  */
 protected function getOptions()
 {
     return array_merge(parent::getOptions(), array(array('tests', 't', InputOption::VALUE_NONE, 'Runs the tests on deploy'), array('migrate', 'm', InputOption::VALUE_NONE, 'Run the migrations'), array('seed', 's', InputOption::VALUE_NONE, 'Seed the database (after migrating it if --migrate)'), array('clean-all', null, InputOption::VALUE_NONE, 'Cleanup all but the current release on deploy')));
 }