13 lines
223 B
PHP
13 lines
223 B
PHP
<?php
|
|
|
|
require_once __DIR__."/../vendor/autoload.php";
|
|
|
|
use NoccyLabs\Shell\Shell;
|
|
use NoccyLabs\Shell\Context;
|
|
|
|
|
|
$myShell = new Shell();
|
|
$myShell->setPrompt("test>");
|
|
$myShell->pushContext(new Context());
|
|
$myShell->run();
|