<?php
namespace App\Console\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
abstract class AbstractCommand extends Command
{
protected function configure(): void
$this->addOption(
name: 'extra-args',
shortcut: 'a',
mode: InputArgument::OPTIONAL,
description: 'Any additonal arguments to pass to the command.',
);
name: 'language',
shortcut: 'l',
description: 'The project language',
suggestedValues: ['php', 'javascript'],
name: 'type',
shortcut: 't',
description: 'The project type',
suggestedValues: ['drupal', 'sculpin'],
name: 'working-dir',
shortcut: 'd',
description: 'The project\'s working directory',
default: '.',
}