Split detail page contracts
This commit is contained in:
25
lib/Console/Commands/Module/RuntimeSyncCommand.php
Normal file
25
lib/Console/Commands/Module/RuntimeSyncCommand.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user