36fff83d4886d2c34203744b9cdbbff8c920e093
[yaffs-website] / vendor / drupal / console-en / translations / user.role.yml
1 description: 'Adds/removes a role for a given user'
2 help: 'The <info>user:role</info> command helps you to add or remove a role to a user.'
3 welcome: 'Welcome to the Drupal user rule'
4 arguments:
5   roles: 'Roles to add or remove. Please provide the machine name (only one)'
6   operation: 'Add or remove'
7   user: 'The affected user (only one)'
8 messages:
9   bad-arguments: 'Some arguments are missing! Please, provide all the following arguments: [add/remove] [username] [role]'
10   no-user-found: 'Username "%s" was not found!'
11   no-role-found: 'Role "%s" was not found!'
12   add-success: 'Username %1$s was added role %2$s sucessfully'
13   remove-success: 'Username %1$s was removed role %2$s sucessfully'
14 examples:
15   - description: 'Add administrator role to the user admin specifying the username and the role'
16     execution: |
17       drupal user:role  add admin administrator
18   - description: 'Remove administrator role from the user admin specifying the username and the role'
19     execution: |
20       drupal user:role  remove admin administrator