From 31cfaf8f6fce67ade657b8f3d1659489fa1a98a3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 9 Jul 2020 17:55:33 +0100 Subject: [PATCH] Add shortcuts for input and output files --- src/Console/Command/GenerateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/Command/GenerateCommand.php b/src/Console/Command/GenerateCommand.php index a43e0d0..f22bbd5 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.') ;