X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.command.yml;h=745203475b2924102a2bf908ed1e3f3f2f5d5caf;hp=0b9c665a164c4109e3fb4cdbd69f9beef914d588;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-en/translations/generate.command.yml b/vendor/drupal/console-en/translations/generate.command.yml index 0b9c665a1..745203475 100644 --- a/vendor/drupal/console-en/translations/generate.command.yml +++ b/vendor/drupal/console-en/translations/generate.command.yml @@ -2,15 +2,30 @@ description: 'Generate commands for the console.' help: 'The generate:command command helps you generate a new command.' welcome: 'Welcome to the Drupal Command generator' options: - module: 'The name of the Module (that will contain the command).' - controller-title: 'Controller title.' - class: 'The Class that describes the command. (Must end with the word ''Command'').' - name: 'The Command name.' - container-aware: 'Is the command aware of the drupal site installation when executed' + extension: 'The name of the Extension (that will contain the command).' + class: 'The Class that describes the command. (Must end with the word ''Command'').' + name: 'The Command name.' + interact: 'Add interact method.' + initialize: 'Add initialize method.' + container-aware: 'Is the command aware of the drupal site installation when executed?' + services: 'Load services from the container.' + generator: 'Add a Generator class for this command.' questions: - module: common.questions.module - class: 'Enter the Command Class. (Must end with the word ''Command'').' - name: 'Enter the Command name.' - container-aware: 'Is the command aware of the drupal site installation when executed?.' + extension: 'Enter the extension name' + class: 'Enter the Command Class. (Must end with the word ''Command'').' + name: 'Enter the Command name.' + interact: 'Do you want to add the interact method?' + initialize: 'Do you want to add the initialize method?' + container-aware: 'Is the command aware of the drupal site installation when executed?' + services: 'Enter your service' + generator: 'Do you want to add a Generator class?.' messages: - title-not-empty: 'Title cannot be empty' + title-not-empty: 'Title cannot be empty' +examples: + - description: 'Generate a command specifying the extension name and type, its class and the name.' + execution: | + drupal generate:command \ + --extension="ExtensionName" \ + --extension-type="module" \ + --class="DefaultCommand" \ + --name="CommandName" \ No newline at end of file