diff --git a/composer.json b/composer.json index 9ff1517..ac7d20a 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,6 @@ "symfony/asset-mapper": "^6.4|^7.0", "symfony/config": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", - "symfony/finder": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", "symfony/property-access": "^6.4|^7.0", "symfony/property-info": "^6.4|^7.0", diff --git a/src/Command/GenerateIconsCommand.php b/src/Command/GenerateIconsCommand.php index cd27393..b5ad9a4 100644 --- a/src/Command/GenerateIconsCommand.php +++ b/src/Command/GenerateIconsCommand.php @@ -36,12 +36,12 @@ protected function configure(): void $this->addArgument('source', InputArgument::REQUIRED, 'The source image'); $this->addArgument('output', InputArgument::REQUIRED, 'The output directory'); $this->addArgument('filename', InputArgument::OPTIONAL, 'The output directory', 'icon'); - $this->addOption('format', null, InputOption::VALUE_OPTIONAL, 'The format of the icons'); + $this->addOption('format', 'f', InputOption::VALUE_OPTIONAL, 'The format of the icons'); $this->addArgument( 'sizes', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'The sizes of the icons', - ['192', '512'] + ['16', '32', '48', '96', '144', '180', '256', '512', '1024'] ); } diff --git a/src/Command/TakeScreenshotCommand.php b/src/Command/TakeScreenshotCommand.php index db5700b..19064c3 100644 --- a/src/Command/TakeScreenshotCommand.php +++ b/src/Command/TakeScreenshotCommand.php @@ -52,10 +52,10 @@ protected function configure(): void InputArgument::OPTIONAL, 'The output name of the screenshot', 'screenshot', - ['homeage-android', 'feature1'] + ['homepage-android', 'feature1'] ); - $this->addOption('width', null, InputOption::VALUE_OPTIONAL, 'The width of the screenshot'); - $this->addOption('height', null, InputOption::VALUE_OPTIONAL, 'The height of the screenshot'); + $this->addOption('width', 'w', InputOption::VALUE_OPTIONAL, 'The width of the screenshot'); + $this->addOption('height', 'h', InputOption::VALUE_OPTIONAL, 'The height of the screenshot'); } protected function execute(InputInterface $input, OutputInterface $output): int