25 lines
590 B
PHP
25 lines
590 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace NoccyLabs\Composer\PackagePlugin\Command;
|
||
|
|
|
||
|
|
use Symfony\Component\Console\Input\InputInterface;
|
||
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
||
|
|
use Composer\Command\BaseCommand;
|
||
|
|
|
||
|
|
class PackageCommand extends BaseCommand
|
||
|
|
{
|
||
|
|
protected function configure(): void
|
||
|
|
{
|
||
|
|
$this
|
||
|
|
->setName('package')
|
||
|
|
->setDescription("Package the library into a zipball, or publish directly");
|
||
|
|
}
|
||
|
|
|
||
|
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
||
|
|
{
|
||
|
|
$output->writeln('Executing');
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
}
|