pakeApp::runInteractiveSession PHP Method

runInteractiveSession() private method

private runInteractiveSession ( )
    private function runInteractiveSession()
    {
        pake_import('interactive');
        pake_echo("=================================================================================");
        pake_echo("Welcome to pake's interactive console. To get list of commands type \"?\" or \"help\"");
        pake_echo("type \"quit\" or press ^D to exit");
        pake_echo("=================================================================================");
        $this->showVersion();
        echo "\n";
        while (true) {
            $command = pakeInput::getString('pake> ', false);
            if (false === $command) {
                // Ctrl-D
                pakeInteractiveTask::run_quit_pake();
            }
            if ('' === $command) {
                continue;
            }
            $this->initAndRunTaskInSubprocess($command);
        }
    }