From e7d8f37800e10f4e892b3cc2382d957091ed60f5 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 11 Apr 2019 00:14:54 +0100 Subject: [PATCH] Add shortcuts to generate command --- bin/generate-filters.php | 0 src/Console/Command/GenerateCommand.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 bin/generate-filters.php diff --git a/bin/generate-filters.php b/bin/generate-filters.php old mode 100644 new mode 100755 diff --git a/src/Console/Command/GenerateCommand.php b/src/Console/Command/GenerateCommand.php index a026129..2952c2e 100644 --- a/src/Console/Command/GenerateCommand.php +++ b/src/Console/Command/GenerateCommand.php @@ -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.') ;