wp cap list <role>

Lists capabilities for a given role

Arguments

NameDescription
roleKey for the role

Options

NameDescription
--format <options>Render output in a particular format
--show-grantDisplay all capabilities defined for a role including grant