Skip to content
Permalink
Browse files

[generate:module] Add default values --no-interaction (#4102)

  • Loading branch information...
harold20 authored and enzolutions committed Jun 26, 2019
1 parent c79f603 commit fe45f9ab60b05bfa3cf2eb2cde4349495bf9e523
Showing with 3 additions and 3 deletions.
  1. +3 −3 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');

0 comments on commit fe45f9a

Please sign in to comment.
You can’t perform that action at this time.