wp role list

Lists all roles

Options

NameDescription
--fields <fields>Limit the output to specific row fields
--field <field>Prints the value of a single field
--format <format>Render output in a particular format