2025-12-28 02:28:35 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace NoccyLabs\Composer\PackagePlugin\Command;
|
|
|
|
|
|
|
|
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
|
use Composer\Command\BaseCommand;
|
|
|
|
|
|
2025-12-28 02:30:24 +01:00
|
|
|
class PackageBuildCommand extends BaseCommand
|
2025-12-28 02:28:35 +01:00
|
|
|
{
|
|
|
|
|
protected function configure(): void
|
|
|
|
|
{
|
|
|
|
|
$this
|
2025-12-28 02:30:24 +01:00
|
|
|
->setName('package:build')
|
|
|
|
|
->setAliases([ "package" ])
|
2025-12-28 02:28:35 +01:00
|
|
|
->setDescription("Package the library into a zipball, or publish directly");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
|
|
|
|
{
|
|
|
|
|
$output->writeln('Executing');
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|