wp-cli / entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.
MIT License
100 stars 89 forks source link

Support username and email also as ID in wp user spam #479

Closed ernilambar closed 6 months ago

ernilambar commented 6 months ago

Feature Request

Describe your use case and the problem you are facing

In our all wp user commands, we accept username, user email or user ID as ID except wp user spam and wp user unspam. We could improve that to make it uniform.

Describe the solution you'd like

wp user spam username should also work.