Split detail page contracts
This commit is contained in:
43
bin/console
Executable file
43
bin/console
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* CoreCore CLI — single entry point for all commands.
|
||||
*
|
||||
* Usage:
|
||||
* php bin/console <command> [arguments] [options]
|
||||
* php bin/console list
|
||||
*
|
||||
* Examples:
|
||||
* php bin/console module:sync
|
||||
* php bin/console module:deactivate addressbook --confirm
|
||||
* php bin/console scheduler:run
|
||||
* php bin/console doctor
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use MintyPHP\Console\ConsoleApplication;
|
||||
use MintyPHP\Console\Commands\DoctorCommand;
|
||||
use MintyPHP\Console\Commands\Module\AssetsSyncCommand;
|
||||
use MintyPHP\Console\Commands\Module\BuildCommand;
|
||||
use MintyPHP\Console\Commands\Module\DeactivateCommand;
|
||||
use MintyPHP\Console\Commands\Module\MigrateCommand;
|
||||
use MintyPHP\Console\Commands\Module\PermissionsSyncCommand;
|
||||
use MintyPHP\Console\Commands\Module\RuntimeSyncCommand;
|
||||
use MintyPHP\Console\Commands\Scheduler\RunCommand;
|
||||
|
||||
$app = new ConsoleApplication();
|
||||
|
||||
$app->register(new RuntimeSyncCommand());
|
||||
$app->register(new MigrateCommand());
|
||||
$app->register(new PermissionsSyncCommand());
|
||||
$app->register(new BuildCommand());
|
||||
$app->register(new AssetsSyncCommand());
|
||||
$app->register(new DeactivateCommand());
|
||||
$app->register(new RunCommand());
|
||||
$app->register(new DoctorCommand());
|
||||
|
||||
exit($app->run($argv));
|
||||
Reference in New Issue
Block a user