Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / user.role.yml
index 612406204d9cb0e740a032e290e7e2efd26bb904..36fff83d4886d2c34203744b9cdbbff8c920e093 100644 (file)
@@ -2,12 +2,19 @@ description: 'Adds/removes a role for a given user'
 help: 'The <info>user:role</info> command helps you to add or remove a role to a user.'
 welcome: 'Welcome to the Drupal user rule'
 arguments:
-    roles: 'Roles to add or remove. Please provide the machine name (only one)'
-    operation: 'Add or remove'
-    user: 'The affected user (only one)'
+  roles: 'Roles to add or remove. Please provide the machine name (only one)'
+  operation: 'Add or remove'
+  user: 'The affected user (only one)'
 messages:
-    bad-arguments: 'Some arguments are missing! Please, provide all the following arguments: [add/remove] [username] [role]'
-    no-user-found: 'Username "%s" was not found!'
-    no-role-found: 'Role "%s" was not found!'
-    add-success: 'Username %1$s was added role %2$s sucessfully'
-    remove-success: 'Username %1$s was removed role %2$s sucessfully'
+  bad-arguments: 'Some arguments are missing! Please, provide all the following arguments: [add/remove] [username] [role]'
+  no-user-found: 'Username "%s" was not found!'
+  no-role-found: 'Role "%s" was not found!'
+  add-success: 'Username %1$s was added role %2$s sucessfully'
+  remove-success: 'Username %1$s was removed role %2$s sucessfully'
+examples:
+  - description: 'Add administrator role to the user admin specifying the username and the role'
+    execution: |
+      drupal user:role  add admin administrator
+  - description: 'Remove administrator role from the user admin specifying the username and the role'
+    execution: |
+      drupal user:role  remove admin administrator