drush role-create

Create a new role.

Drush Command

drush role-create

Arguments

machine name : The symbolic machine name for the role. Required.
human-readable name : A descriptive name for the role. Optional; Drupal 8 only.  Ignored in D6 and D7.

Aliases

drush rcrt

Options

Examples

Create a new role 'test role' on D6 or D7; auto-assign the rid. On D8, 'test role' is the rid, and the human-readable name is set to 'Test role'.

drush role-create 'test role'
Create a new role with a machine name of 'test role', and a human-readable name of 'Test role'. On D6 and D7, behaves as the previous example.
drush role-create 'test role' 'Test role'