wp role create <role-key> <role-name>

Creates a new role

Arguments

NameDescription
role-keyThe internal name of the role
role-nameThe publicly visible name of the role

Options

NameDescription
--clone <role>Clone capabilities from an existing role