argument('query'); $limit = (int) $this->option('limit'); info("Searching for: {$query}"); $results = $steamService->searchMultiple($query, $limit); if ($results->isEmpty()) { warning('No games found matching your query.'); return Command::SUCCESS; } info("Found {$results->count()} result(s):"); $tableData = $results->map(fn ($r) => [ $r['appid'], substr($r['name'], 0, 60), number_format($r['score'], 1).'%', 'https://store.steampowered.com/app/'.$r['appid'], ])->toArray(); table( ['App ID', 'Name', 'Score', 'Store URL'], $tableData ); return Command::SUCCESS; } }