-
-
Save osteel/cb70ee7dd0635983765855c1a12acbe2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
$root = dirname(__DIR__); | |
if (! is_file(sprintf('%s/vendor/autoload.php', $root))) { | |
$root = dirname(__DIR__, 4); | |
} | |
require sprintf('%s/vendor/autoload.php', $root); | |
use Osteel\PhpCliDemo\Commands\Play; | |
use Symfony\Component\Console\Application; | |
$application = new Application(); | |
$application->add(new Play()); | |
$application->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment