Add dev commands: is-installed, shell (for debugging package status)

This commit is contained in:
crazywhalecc
2025-12-08 10:36:45 +08:00
committed by Jerry Ma
parent 2f09ace82f
commit baddd60113
3 changed files with 73 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ namespace StaticPHP;
use StaticPHP\Command\BuildLibsCommand;
use StaticPHP\Command\BuildTargetCommand;
use StaticPHP\Command\Dev\IsInstalledCommand;
use StaticPHP\Command\Dev\ShellCommand;
use StaticPHP\Command\DoctorCommand;
use StaticPHP\Command\DownloadCommand;
use StaticPHP\Command\ExtractCommand;
@@ -47,6 +49,10 @@ class ConsoleApplication extends Application
new BuildLibsCommand(),
new ExtractCommand(),
new SPCConfigCommand(),
// dev commands
new ShellCommand(),
new IsInstalledCommand(),
]);
// add additional commands from registries