Rework commands
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user