forked from fa/breadcrumb-the-shire
26 lines
541 B
PHP
26 lines
541 B
PHP
<?php
|
|
|
|
namespace MintyPHP\Console\Commands\Module;
|
|
|
|
use MintyPHP\Console\Command;
|
|
|
|
final class RuntimeSyncCommand extends Command
|
|
{
|
|
public function name(): string
|
|
{
|
|
return 'module:sync';
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'Run full module runtime sync (migrate, permissions, build, assets)';
|
|
}
|
|
|
|
public function execute(array $args, array $options): int
|
|
{
|
|
require_once __DIR__ . '/../../../../bin/module-runtime-sync.php';
|
|
|
|
return moduleRuntimeSyncRun();
|
|
}
|
|
}
|