Remove users with WP CLI by ROLE

To remove users with a specific role using WP-CLI, you can use the wp user delete command with the –role parameter. Here’s an example command to remove all users with the “contributor” role: wp user list –role=subscriber –field=ID...