Implement common abstract base command

This commit is contained in:
Christopher Vagnetoft
2026-01-09 17:43:54 +01:00
parent 520de9e7b8
commit c30c04d1f9
5 changed files with 34 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ use NoccyLabs\Composer\PackagePlugin\Registry\RegistryFactory;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class PackagePublishCommand extends BaseCommand
class PackagePublishCommand extends PackageCommand
{
protected function configure(): void
{
@@ -27,7 +27,7 @@ class PackagePublishCommand extends BaseCommand
protected function execute(InputInterface $input, OutputInterface $output): int
{
$credentials = new InsecureStore();
$credentials = $this->getCredentialsStore();
$registry = $input->getArgument("registry");
$version = $input->getArgument("version");