isActiveTheme() ? '[*] ' : '[-] '; $this->info($ln.$loadedThemes[$i]->getId()); } if ($this->option('include-marketplace')) { // @todo List everything in the marketplace - not just popular. $popularThemes = UpdateManager::instance()->requestPopularProducts('theme'); $themeManager = ThemeManager::instance(); for ($i = 0, $c = count($popularThemes); $i < $c; $i++) { if (!$themeManager->isInstalled($popularThemes[$i]['code'])) { $this->info('[ ] '.$popularThemes[$i]['code']); } } } $this->info("\n[*] Active [-] Installed [ ] Not installed"); } /** * Get the console command arguments. */ protected function getArguments() { return []; } /** * Get the console command options. */ protected function getOptions() { return [ ['include-marketplace', 'm', InputOption::VALUE_NONE, 'Whether or not to include downloadable themes from the October marketplace.'] ]; } }