diff --git a/src/Action/CreateFinalConfigurationData.php b/src/Action/CreateFinalConfigurationData.php index d105df5..074c8ac 100644 --- a/src/Action/CreateFinalConfigurationData.php +++ b/src/Action/CreateFinalConfigurationData.php @@ -43,6 +43,12 @@ public function handle(string $configFile, \Closure $next) $configurationData['isDocker'] = isset($configurationData['dockerfile']); $configurationData['isFlake'] = isset($configurationData['flake']); + // Alias `symfony-cli` to `symfony`. In the future, this allows for + // different configurations for CLI-based and web-based applications. + if ($configurationData['type'] === 'symfony-cli') { + $configurationData['type'] = 'symfony'; + } + if (isset($configurationData['docker-compose'])) { $configurationData['dockerCompose'] = $configurationData['docker-compose']; $configurationData['docker-compose'] = null;