setCatchExceptions(file_exists(ROOT_DIR . '/.prod') || !in_array('--debug', $argv)); $this->addCommands( [ new BuildCliCommand(), new BuildLibsCommand(), new DoctorCommand(), new DownloadCommand(), new DumpLicenseCommand(), new ExtractCommand(), new MicroCombineCommand(), // Dev commands new AllExtCommand(), new PhpVerCommand(), new SortConfigCommand(), ] ); } protected function getDefaultCommands(): array { return [new HelpCommand(), new ListCommand()]; } }