1
0
Files
breadcrumb-the-shire/lib/Console/Commands/Module/AssetsSyncCommand.php

27 lines
566 B
PHP
Raw Normal View History

2026-03-19 19:04:28 +01:00
<?php
namespace MintyPHP\Console\Commands\Module;
use MintyPHP\Console\Command;
final class AssetsSyncCommand extends Command
{
public function name(): string
{
return 'module:assets-sync';
}
public function description(): string
{
return 'Publish module web assets to web/modules/';
}
public function execute(array $args, array $options): int
{
$this->requireBinScript('module-cli-bootstrap.php');
$this->requireBinScript('module-assets-sync.php');
2026-03-19 19:04:28 +01:00
return moduleAssetsSyncRun();
}
}