Skip to content
Permalink
Browse files

Add some help to the daenerys console command.

  • Loading branch information...
austenmc committed Jul 22, 2016
1 parent 6efd894 commit a673efaf4e7fc3ab081e635679c123a88485ebd9
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/Console/Command/ConsoleCommand.php
@@ -22,7 +22,15 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
$g = Main::createGame();
$boris = new \Boris\Boris('🐲> ');
print("Daenerys console, the dragon prompt. lotgd/core " . \LotGD\Core\Game::getVersion() . ".\n");
print("Enter some PHP, but be careful, this is live and attached to your currently configured setup:\n\n");
print($g->getConfiguration());
print("\n");
print("Try things like `\$g::getVersion()`. To quit, ^D or `exit();`.\n");
print("\n");
$boris = new \Boris\Boris('🐲 > '); // For some reason we need the extra spaces.
$boris->setLocal(array(
'g' => $g
));

0 comments on commit a673efa

Please sign in to comment.
You can’t perform that action at this time.