->setHelp($this->trans('commands.generate.breakpoint.help'))
->addOption(
'theme',
- '',
+ null,
InputOption::VALUE_REQUIRED,
$this->trans('commands.generate.breakpoint.options.theme')
)
->addOption(
'breakpoints',
- '',
+ null,
InputOption::VALUE_OPTIONAL,
$this->trans('commands.generate.breakpoint.options.breakpoints')
);
// @see use Drupal\Console\Command\Shared\ConfirmationTrait::confirmGeneration
if (!$this->confirmGeneration($io)) {
- return;
+ return 1;
}
$validators = $this->validator;
$breakpoints,
$machine_name
);
+
+ return 0;
}
/**