option('repository'), $this->option('revision'), $this->option('provider'), $this->option('builder') ?: Utils::getBuilderName() ); $this->info('Notified Bugsnag of the build!'); } /** * Execute the console command. * * @return void */ public function fire() { $this->handle(); } /** * Get the console command options. * * @return array */ protected function getOptions() { return [ ['repository', null, InputOption::VALUE_OPTIONAL, 'The repository from which you are deploying the code.', null], ['branch', null, InputOption::VALUE_OPTIONAL, 'The source control branch from which you are deploying. Deprecated.', null], ['revision', null, InputOption::VALUE_OPTIONAL, 'The source control revision you are currently deploying.', null], ['provider', null, InputOption::VALUE_OPTIONAL, 'The provider of your source control repository.', null], ['builder', null, InputOption::VALUE_OPTIONAL, 'The machine or person who has executed the build', null], ]; } }