option('auth')) { $GLOBALS['expose.auth'] = $this->option('auth'); } (new Factory()) ->setLoop(app(LoopInterface::class)) // ->setHost('beyond.sh') // TODO: Read from (local/global) config file // ->setPort(8080) // TODO: Read from (local/global) config file ->createClient($this->argument('host'), explode(',', $this->option('subdomain'))) ->createHttpServer() ->run(); } }