Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.jstest.yml
diff --git a/vendor/drupal/console-en/translations/generate.jstest.yml b/vendor/drupal/console-en/translations/generate.jstest.yml
new file mode 100644 (file)
index 0000000..3d6f828
--- /dev/null
@@ -0,0 +1,22 @@
+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