I think we can abstract this whole switch, now that we also have it in `wp user list`.

Please rebase the term-command branch off of master and move the handling of the 'format' parameter into a utility function.