Ionic View related functionality from CLI

I noticed some opportunities in the Ionic CLI related to Ionic View:

  1. There’s a login task, but it’s not in the list of available tasks (ionic --help)

  2. There’s no logout task (although presumably rm -fr ~/.ionic is a workaround, albeit potentially destructive)

  3. It would be nice to be able to add accounts and switch among them, which implies:

  • list the available accounts
  • in the list of available accounts, indicate which one I’m currently signed into
  • add / remove accounts
  • switch which one is active