27 lines
577 B
PHP
27 lines
577 B
PHP
<?php
|
|
|
|
namespace MintyPHP\Console\Commands\Module;
|
|
|
|
use MintyPHP\Console\Command;
|
|
|
|
final class BuildCommand extends Command
|
|
{
|
|
public function name(): string
|
|
{
|
|
return 'module:build';
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'Build runtime page root with module symlinks';
|
|
}
|
|
|
|
public function execute(array $args, array $options): int
|
|
{
|
|
require_once __DIR__ . '/../../../../bin/module-cli-bootstrap.php';
|
|
require_once __DIR__ . '/../../../../bin/module-build.php';
|
|
|
|
return moduleBuildRun();
|
|
}
|
|
}
|