19 lines
532 B
PHP
19 lines
532 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
// Are we running global or per project?
|
|
if(is_file( __DIR__.'/../vendor/autoload.php')) {
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
} else {
|
|
require __DIR__.'/../../../autoload.php';
|
|
}
|
|
|
|
$app = new Symfony\Component\Console\Application('Laravel Homestead', '15.0.3');
|
|
|
|
$app->add(new Laravel\Homestead\MakeCommand);
|
|
$app->add(new Laravel\Homestead\WslApplyFeatures);
|
|
$app->add(new Laravel\Homestead\WslCreateSiteCommand);
|
|
$app->add(new Laravel\Homestead\WslCreateDatabaseCommand());
|
|
|
|
$app->run();
|