feat: improve module management
All checks were successful
JS Unit Tests / test (pull_request) Successful in 39s
Build Test / build (pull_request) Successful in 44s
PHP Unit Tests / test (pull_request) Successful in 53s

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-02-22 00:40:38 -05:00
parent f44fd85dcc
commit c687bd0795
12 changed files with 391 additions and 28 deletions

View File

@@ -48,8 +48,7 @@ class ModuleEnableCommand extends Command
try {
// Find the module
$modules = $this->moduleManager->list(installedOnly: true, enabledOnly: false);
$module = $modules[$handle] ?? null;
$module = $this->moduleManager->fetch($handle);
if (!$module) {
$io->error("Module '{$handle}' not found or not installed.");