public function readLine($prompt)
    {
        $this
            ->getOutputter()
            ->stdout($prompt);
        $out = fgets($this->getHandle());
        $this->getOutputter()->stdout("\n");
        return rtrim($out);
    }