runForMultiple($this->getTenants(), function ($tenant) { $this->line("Tenant: {$tenant->getTenantKey()}"); Artisan::call($this->argument('commandname')); $this->comment('Command output:'); $this->info(Artisan::output()); }); } }