Add DumpCapabilitiesCommand to output installable and buildable capabilities of packages

This commit is contained in:
crazywhalecc
2026-02-27 09:27:19 +08:00
parent da1f348daa
commit 0e80f29e61
3 changed files with 119 additions and 3 deletions

View File

@@ -6,10 +6,12 @@ namespace StaticPHP;
use StaticPHP\Command\BuildLibsCommand;
use StaticPHP\Command\BuildTargetCommand;
use StaticPHP\Command\Dev\DumpCapabilitiesCommand;
use StaticPHP\Command\Dev\DumpStagesCommand;
use StaticPHP\Command\Dev\EnvCommand;
use StaticPHP\Command\Dev\IsInstalledCommand;
use StaticPHP\Command\Dev\LintConfigCommand;
use StaticPHP\Command\Dev\PackageInfoCommand;
use StaticPHP\Command\Dev\PackLibCommand;
use StaticPHP\Command\Dev\ShellCommand;
use StaticPHP\Command\DoctorCommand;
@@ -69,6 +71,8 @@ class ConsoleApplication extends Application
new LintConfigCommand(),
new PackLibCommand(),
new DumpStagesCommand(),
new DumpCapabilitiesCommand(),
new PackageInfoCommand(),
]);
// add additional commands from registries