Add shortcuts to generate command

This commit is contained in:
Oliver Davies 2019-04-11 00:14:54 +01:00
parent 77b83edfae
commit e7d8f37800
2 changed files with 2 additions and 2 deletions

0
bin/generate-filters.php Normal file → Executable file
View file

View file

@ -22,8 +22,8 @@ class GenerateCommand extends Command
$this
->setName(self::NAME)
->setDefinition([
new InputOption('input-file', null, InputOption::VALUE_OPTIONAL, 'The name of the PHP file containing your filters.', 'filters.php'),
new InputOption('output-file', null, InputOption::VALUE_OPTIONAL, 'The name of the XML file to generate.', 'filters.xml')
new InputOption('input-file', 'i', InputOption::VALUE_OPTIONAL, 'The name of the PHP file containing your filters.', 'filters.php'),
new InputOption('output-file', 'o', InputOption::VALUE_OPTIONAL, 'The name of the XML file to generate.', 'filters.xml')
])
->setDescription('Generates XML for Gmail filters.')
;