for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This software package is licensed under `AGPL, Commercial` license[s].
*
* @package maslosoft/zamm
* @license AGPL, Commercial
* @copyright Copyright (c) Peter Maselkowski <[email protected]>
* @link https://maslosoft.com/zamm/
*/
namespace Maslosoft\Zamm\Commands;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
* BaseCommand
* @author Piotr Maselkowski <pmaselkowski at gmail.com>
abstract class BaseCommand extends Command
{
protected function configure()
$this->setDefinition([
new InputArgument('input', InputArgument::IS_ARRAY, 'Input file or folder', ['docs']),
new InputOption('output', 'o', InputOption::VALUE_REQUIRED, 'Output folder', 'docs'),
]);
}