This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/generate.jstest.yml

23 lines
913 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
description: 'Generate a JavaScript test.'
help: 'The <info>generate:jstest</info> command helps you to generate a new JavaScript test.'
welcome: 'Welcome to the Drupal module generator'
options:
class: 'JavaScript test Class name'
questions:
module: common.questions.module
class: 'Enter the JavaScript test class name'
examples:
- description: 'Generate a module specifying the module name, machine name, the path, its description, drupal core and the package name. In this example the composer file, the unit test and twig template are generated too'
execution: |
drupal generate:module \
--module="modulename" \
--machine-name="modulename" \
--module-path="/modules/custom" \
--description="My Awesome Module" \
--core="8.x" \
--package="Custom" \
--module-file \
--composer \
--test \
--twigtemplate