Code cleanup, better examples, tasks added
This commit is contained in:
		@@ -30,7 +30,7 @@ $myShell->setPrompt("test>");
 | 
			
		||||
$ctx = $myShell->createContext("root");
 | 
			
		||||
$ctx->addCommand("hello", function () {
 | 
			
		||||
    echo "Hello World!\n";
 | 
			
		||||
});
 | 
			
		||||
}, [ 'descr'=>'Say hello' ]);
 | 
			
		||||
 | 
			
		||||
// Run the shell
 | 
			
		||||
$myShell->run();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user