wp user list

Lists users

Options

NameDescription
--role <role>Only display users with a certain role
--field=valueControl output by one or more arguments of WP_User_Query()
--networkList all users in the network for multisite
--field <field>Prints the value of a single field for each user
--fields <fields>Limit the output to specific object fields
--format <format>Render output in a particular format