public function execute($in, $out)
    {
        if (!$server = $this->getOpt('S')) {
            $server = $this->getSameOpt(['H', 'host'], '127.0.0.1');
        }

        if (!\strpos($server, ':')) {
            $port = $this->getSameOpt(['p', 'port'], 8552);
            $server .= ':' . $port;
        }

        $version = \PHP_VERSION;
        $workDir = $this->input->getPwd();
        $docDir = $this->getOpt('t');
        $docRoot = $docDir ? $workDir . '/' . $docDir : $workDir;

        $this->write([
            "PHP $version Development Server started\nServer listening on http://<info>$server</info>",
            "Document root is <comment>$docRoot</comment>",
            'You can use <comment>CTRL + C</comment> to stop run.',
        ]);

        // $command = "php -S {$server} -t web web/index.php";
        $command = "php -S {$server}";

        if ($docDir) {
            $command .= " -t $docDir";
        }

        if ($entryFile = $this->getSameArg(['file', 0])) {
            $command .= " $entryFile";
        }

        $this->write("<cyan>></cyan> <darkGray>$command</darkGray>");

        Sys::execute($command);
    }