/** * Get the console command options. * * @return array<string[]|array<string|null>> */ protected function getOptions() { return array_merge(parent::getOptions(), [['list', 'L', InputOption::VALUE_NONE, 'Shows the available releases to rollback to']]); }
/** * Get the console command options. * * @return array<string[]|array<string|null>> */ protected function getOptions() { return array_merge(parent::getOptions(), [['clean-all', null, InputOption::VALUE_NONE, 'Cleans up all non-current releases']]); }
/** * Get the console command options. * * @return array<string[]|array<string|null>> */ protected function getOptions() { return array_merge(parent::getOptions(), [['tests', 't', InputOption::VALUE_NONE, 'Runs the tests on deploy'], ['migrate', 'm', InputOption::VALUE_NONE, 'Run the migrations'], ['seed', 's', InputOption::VALUE_NONE, 'Seed the database (after migrating it if --migrate)'], ['clean-all', null, InputOption::VALUE_NONE, 'Cleanup all but the current release on deploy']]); }
/** * Get the console command options. * * @return array<string[]|array<string|null>> */ protected function getOptions() { return array_merge(parent::getOptions(), [['migrate', 'm', InputOption::VALUE_NONE, 'Run the migrations'], ['seed', 's', InputOption::VALUE_NONE, 'Seed the database after migrating the database'], ['no-clear', null, InputOption::VALUE_NONE, "Don't clear the application's cache after the update"]]); }