Please keep this 'good-first-issue' for a first time contributor if possible. Thanks!
It would be helpful to the end user if there was more verbosity when using wp role reset.
Specifically, when I run wp role reset <role>, it should identify the number of affected capabilities, something like:
$ wp role reset administrator
Restored 4 capabilities to and removed 5 capabilities from 'administrator' role.
Success: Role reset.
If no changes are necessary, then it should tell me such:
$ wp role reset administrator
No changes necessary for 'administrator' role.
Success: Role reset.
When I use the --all flag, then the command should provide more verbosity to each change:
$ wp role reset --all
Removed the 'customrole' role.
No changes necessary for 'administrator' role.
No changes necessary for 'editor' role.
No changes necessary for 'author' role.
No changes necessary for 'contributor' role.
No changes necessary for 'subscriber' role.
Success: Roles reset.
Actual language of these messages to be determined.
Please keep this 'good-first-issue' for a first time contributor if possible. Thanks!
It would be helpful to the end user if there was more verbosity when using
wp role reset.Specifically, when I run
wp role reset <role>, it should identify the number of affected capabilities, something like:If no changes are necessary, then it should tell me such:
When I use the
--allflag, then the command should provide more verbosity to each change:Actual language of these messages to be determined.