Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (31 sloc) 1.33 KB
#!/usr/bin/env php
<?php
/**
* _ _ ______ _ _
* | | | | | ___| | | (_)
* | | | |___ ___ _ __| |_ _ __ ___ ___| |_ _ _ __ __ _
* | | | / __|/ _ \ '__| _| '__/ _ \/ __| __| | '_ \ / _` |
* | |_| \__ \ __/ | | | | | | (_) \__ \ |_| | | | | (_| |
* \___/|___/\___|_| \_| |_| \___/|___/\__|_|_| |_|\__, |
* __/ |
* |___/
* UserFrosting (http://www.userfrosting.com)
*
* @link https://github.com/userfrosting/UserFrosting
* @copyright Copyright (c) 2019 Alexander Weissman
* @license https://github.com/userfrosting/UserFrosting/blob/master/LICENSE.md (MIT License)
*/
/**
* Require composer autoload file. Not having this file means Composer might not be installed / run
*/
if (!file_exists(__DIR__ . '/app/vendor/autoload.php')) {
die("ERROR :: File `".__DIR__."/app/vendor/autoload.php` not found. This indicate that composer has not yet been run on this install. Install composer and run `composer install` from the project root directory. Check the documentation for more details.\n");
} else {
require_once __DIR__ . '/app/vendor/autoload.php';
}
use UserFrosting\System\Bakery\Bakery;
/**
* Get and run CLI App
*/
$bakery = new Bakery();
$bakery->run();
You can’t perform that action at this time.