diff --git a/src/Command/Generate/ModuleCommand.php b/src/Command/Generate/ModuleCommand.php index 1b1c1c957..b41ab97a8 100644 --- a/src/Command/Generate/ModuleCommand.php +++ b/src/Command/Generate/ModuleCommand.php @@ -210,9 +210,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->validator->validateMachineName($input->getOption('machine-name')) :$this->stringConverter->createMachineName($module); - $description = $input->getOption('description'); - $core = $input->getOption('core'); - $package = $input->getOption('package'); + $description = $input->getOption('description')?:$this->trans('commands.generate.module.suggestions.my-awesome-module'); + $core = $input->getOption('core')?:'8.x'; + $package = $input->getOption('package')?:'Custom'; $moduleFile = $input->getOption('module-file'); $featuresBundle = $input->getOption('features-bundle'); $composer = $input->getOption('composer');