#!/usr/bin/env php [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));