We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c2c21 commit c4ce890Copy full SHA for c4ce890
src/Symfony/Component/ImportMaps/Command/AbstractCommand.php
@@ -26,7 +26,7 @@ protected function configure(): void
26
{
27
$this
28
->addOption('js-env', 'je', InputOption::VALUE_OPTIONAL, '"development" or "production"', Env::Production->value)
29
- ->addOption('provider', 'p', InputOption::VALUE_OPTIONAL, '"jspm", "jspm.system", "skypack", "jsdelivr" or "unpkg"', Provider::Jspm->value, ['jspm', 'jspm.system', 'skypack', 'jsdelivr', 'unpkg'])
+ ->addOption('provider', 'p', InputOption::VALUE_OPTIONAL, '"jspm", "jspm.system", "skypack", "jsdelivr" or "unpkg"', Provider::Jspm->value, array_column(Provider::cases(), 'value')
30
;
31
}
32
0 commit comments