virtphp/virtphp — pull request #36 by jwoodcock (2014-05-04 21:57:26+00:00)
Title: .virtPHP/ core structure rework (attempt 2)

As explained in the email I sent on 4/15/14, listed below, I've reworked how we are creating environments to set the default location to be inside the .virtphp/envs/ folder now.

Also, I've added a number of tests to bring us back up to decent code coverage, not 100%.

The one thing I could not get done as of yet, is the virtphp activate {env name} command. Though I think we are close to getting this worked out.

The big work is the creation of the EnvironmentFile object to handle all communication to and from the environments.json.

EMAIL--------------------------------------------------------
However, because we do not want them adding this folder to their projects, we're moving to do an install script, and virtphp are not project specific, I propose we create all env folders in the ~/.virtphp folder.

This will help keep peoples systems cleaner and can allow us to put an activate command into the virtphp application that simply activates environments.

Something like: virtphp activate {env name}

We should also make environment name unique for a number of reasons.

I'll be happy to tackle all this work for v1 if approved.