Improved the context stack
This commit is contained in:
1 parent
482d8a54e5
commit
7bfd8453e7
3 files changed
+19
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?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();
|
||||
Reference in new issue
Block a user