2022-04-27 11:30:43 +02:00

28 lines
1.1 KiB
YAML

description: 'Create dummy terms for your Drupal 8 application.'
help: 'The <info>create:terms</info> command helps you create dummy terms.'
welcome: 'Welcome to the Drupal terms creator'
arguments:
vocabularies: 'Vocabulary(s) to be used in terms creation'
options:
limit: 'How many terms would you like to create'
name-words: 'Maximum number of words in term names'
questions:
vocabularies: 'Select vocabulary(s) to be used on terms creation'
limit: 'Enter how many terms would you like to create'
name-words: 'Enter the maximum number of words in term names'
messages:
term-id: 'Term Id'
vocabulary: 'Vocabulary'
name: 'Name'
invalid-vocabularies: 'Vocabulary(s) "%s" are invalid'
created-terms: 'Created "%s" terms successfully'
error: 'Error creating terms: "%s"'
examples:
- description: 'Provide the vocabulary term name.'
execution: drupal create:terms vocabulary
- description: 'Provide the limit of terms to add and limit of title words.'
execution: |
drupal create:terms tags \
--limit="10" \
--name-words="5"