Files
popsu-d9/old.vendor/drupal/console-en/translations/user.delete.yml
2022-04-27 11:30:43 +02:00

30 lines
1001 B
YAML

description: 'Delete users from the application'
help: 'The <info>user:delete</info> command helps you delete users.'
welcome: 'Welcome to the Drupal user delete'
options:
user: 'User name/id to be deleted'
roles: 'Users with the listed roles to be deleted'
questions:
user: 'User name/id to be deleted (empty to skip)'
roles: 'Select role(s) associated with users to be deleted'
messages:
user-id: 'User ID'
username: 'Username'
user-deleted: 'User "%s" was deleted successfully'
users-deleted: '"%s" users were deleted successfully'
errors:
invalid-user: 'User name/id "%s" is invalid'
examples:
- description: 'Delete user with the id number 2'
execution: |
drupal user:delete \
--user="2"
- description: 'Delete user with the username "jmolivas"'
execution: |
drupal user:delete \
--user="jmolivas"
- description: 'Delete users with the role "authenticated"'
execution: |
drupal user:delete \
--role="authenticated"