Rework commands
This commit is contained in:
@@ -6,12 +6,13 @@ use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Composer\Command\BaseCommand;
|
||||
|
||||
class PackageCommand extends BaseCommand
|
||||
class PackageBuildCommand extends BaseCommand
|
||||
{
|
||||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->setName('package')
|
||||
->setName('package:build')
|
||||
->setAliases([ "package" ])
|
||||
->setDescription("Package the library into a zipball, or publish directly");
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ class CommandProvider implements CommandProviderCapability
|
||||
public function getCommands()
|
||||
{
|
||||
return [
|
||||
new Command\PackageCommand(),
|
||||
new Command\PackageBuildCommand(),
|
||||
new Command\PackageLoginCommand(),
|
||||
new Command\PackagePublishCommand(),
|
||||
new Command\PackageUnpublishCommand(),
|
||||
|
||||
Reference in New Issue
Block a user