Updated readme and examples
This commit is contained in:
		@@ -17,7 +17,7 @@ $commands->on('command', function ($command, $args, $shell) {
 | 
			
		||||
    $shell->write("Arguments passed: ".json_encode($args)."\n");
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
$shell->on('prompt', function ($shell) { 
 | 
			
		||||
    $shell->setPrompt(date(">> ")); 
 | 
			
		||||
$shell->on('prompt', function ($shell) {
 | 
			
		||||
    $shell->setPrompt(">> ");
 | 
			
		||||
});
 | 
			
		||||
$shell->on('input', $commands);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user