`. */ class ProxyHostList extends Command { protected $signature = 'clupilot:proxy-hosts'; protected $description = 'Lists the hostnames the reverse proxy should serve, one per line'; public function handle(): int { foreach (ProxyHost::query()->orderBy('hostname')->get() as $host) { $this->line($host->hostname.' '.$host->purpose); } return self::SUCCESS; } }