Skip to content

Commit

Permalink
[generate:module] Add default values --no-interaction (#4102)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed Jun 26, 2019
1 parent c79f603 commit fe45f9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Command/Generate/ModuleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit fe45f9a

Please sign in to comment.