Refactoring
This commit is contained in:
17
lib/composer/vendor/bin/phpdoc-md
vendored
Executable file
17
lib/composer/vendor/bin/phpdoc-md
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$autoLoadPaths = array(__DIR__.'/vendor/autoload.php', __DIR__.'/../vendor/autoload.php', __DIR__.'/../../../autoload.php');
|
||||
foreach($autoLoadPaths as $autoloader) {
|
||||
if( file_exists($autoloader) ) {
|
||||
require $autoloader;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
use PHPDocsMD\Console\CLI;
|
||||
|
||||
$cli = new CLI();
|
||||
$code = $cli->run();
|
||||
exit($code);
|
||||
|
||||
Reference in New Issue
Block a user