drush role:listfor drush 9x


Display a list of all roles defined on the system.

drush role:list

  • Aliases


    role:list has 2 alias/es:


    drush rls

    drush role-list

  • Options


    role:list accepts 7 option/s:


    --format

    --format : format

    --filter

    --filter : filter

    --fields

    --fields : fields

    --field

    --field : field

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Display a list of roles that have the administer nodes permission assigned.

    drush role:list --filter='administer nodes'

  • Comments


    comments powered by Disqus