Rework commands

This commit is contained in:
2025-12-28 02:30:24 +01:00
parent 57582a2e53
commit 078f2bf6a7
2 changed files with 4 additions and 3 deletions

View File

@@ -6,12 +6,13 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Composer\Command\BaseCommand; use Composer\Command\BaseCommand;
class PackageCommand extends BaseCommand class PackageBuildCommand extends BaseCommand
{ {
protected function configure(): void protected function configure(): void
{ {
$this $this
->setName('package') ->setName('package:build')
->setAliases([ "package" ])
->setDescription("Package the library into a zipball, or publish directly"); ->setDescription("Package the library into a zipball, or publish directly");
} }

View File

@@ -9,7 +9,7 @@ class CommandProvider implements CommandProviderCapability
public function getCommands() public function getCommands()
{ {
return [ return [
new Command\PackageCommand(), new Command\PackageBuildCommand(),
new Command\PackageLoginCommand(), new Command\PackageLoginCommand(),
new Command\PackagePublishCommand(), new Command\PackagePublishCommand(),
new Command\PackageUnpublishCommand(), new Command\PackageUnpublishCommand(),