mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-06 05:25:33 +01:00
Set default command
This commit is contained in:
parent
fc629ead56
commit
99caed2737
3 changed files with 6 additions and 2 deletions
|
@ -10,13 +10,15 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||
|
||||
class GenerateCommand extends Command
|
||||
{
|
||||
const NAME = 'generate';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function configure()
|
||||
{
|
||||
$this
|
||||
->setName('generate')
|
||||
->setName(self::NAME)
|
||||
->setDefinition([
|
||||
new InputArgument('input-file', InputArgument::OPTIONAL, 'The name of the PHP file containing your filters.', 'filters.php'),
|
||||
new InputArgument('output-file', InputArgument::OPTIONAL, 'The name of the XML file to generate.', 'filters.xml')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue