Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.command.yml
1 description: 'Generate commands for the console.'
2 help: 'The <info>generate:command</info> command helps you generate a new command.'
3 welcome: 'Welcome to the Drupal Command generator'
4 options:
5   extension: 'The name of the Extension (that will contain the command).'
6   class: 'The Class that describes the command. (Must end with the word ''Command'').'
7   name: 'The Command name.'
8   interact: 'Add interact method.'
9   initialize: 'Add initialize method.'
10   container-aware: 'Is the command aware of the drupal site installation when executed?'
11   services: 'Load services from the container.'
12   generator: 'Add a Generator class for this command.'
13 questions:
14   extension: 'Enter the extension name'
15   class: 'Enter the Command Class. (Must end with the word ''Command'').'
16   name: 'Enter the Command name.'
17   interact: 'Do you want to add the interact method?'
18   initialize: 'Do you want to add the initialize method?'
19   container-aware: 'Is the command aware of the drupal site installation when executed?'
20   services: 'Enter your service'
21   generator: 'Do you want to add a Generator class?.'
22 messages:
23   title-not-empty: 'Title cannot be empty'
24 examples:
25   - description: 'Generate a command specifying the extension name and type, its class and the name.'
26     execution: |
27       drupal generate:command  \
28         --extension="ExtensionName"  \
29         --extension-type="module"  \
30         --class="DefaultCommand"  \
31         --name="CommandName"