option('all')) { $query->whereDoesntHave('profile'); } $plebs = $query->get(); $count = $plebs->count(); $this->info("\nšŸ”„ Syncing profiles..."); if ($count > 0) { $bar = $this->output->createProgressBar($count); $bar->start(); $this->fetchProfile($plebs->pluck('npub')->toArray()); $bar->finish(); $this->info("\nāœ… Successfully synced $count profiles!"); } else { $this->info("⚔ No profiles to sync!"); } } }