phpfog/pf — pull request #5 by timnovinger (2012-03-27 20:10:06+00:00)
Title: Feature/add login command

Added the ability to independently login as it is useful when switching between separate PHP Fog accounts.

Before these changes you had to re-run `pf setup` to login after logging out, which was unnecessary since git/ssh_key setup only needs to happen once per account.

This also improves user feedback during the login/logout procedure and prevents PHP errors from being output when running `pf whoami`, `pf_login`, and `pf logout` when the username is not set in the session (*i.e. the logged out state*)