for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Stp\SndApi\Common\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
abstract class BaseCommand extends Command
{
protected function configure()
$this
->addOption(
'key',
'k',
InputOption::VALUE_OPTIONAL,
'SND API key'
)
'secret',
's',
InputOption::VALUE_REQUIRED,
'SND API secret'
'publicationId',
'p',
'SND API publication id (common, sa, fvn, bt, ap)'
);
}