Refactor remove-user command and output failed sites#198
Refactor remove-user command and output failed sites#198
remove-user command and output failed sites#198Conversation
|
@ahegyes This looks and works great, though I did come across a warning, and there was one slightly confusing bit in the output, not a big deal, but bringing it up anyways. First, I tested with --list, then without --list and aborting, and finally without --list and confirming removal. The confusing part: Overall though, it works perfectly as intended. The PHP warning: |
33d1413 to
591df3a
Compare

Refactors the
remove-usercommand to bring it in line with the commands added in the last 9 months or so thus removing the dependency on the deprecatedAPI_Helperand making use of more reusable functions.At the same time, provides a warning for when a WPCOM site could not be queried as suggested by #162.