argument('platform'); if ($platform === 'lemmy') { return $this->syncLemmy(); } $this->error("Unsupported platform: {$platform}"); return self::FAILURE; } private function syncLemmy(): int { SyncChannelPostsJob::dispatchForAllActiveChannels(); $this->info('Successfully dispatched sync jobs for all active Lemmy channels'); return self::SUCCESS; } }