Updated cli.rb to use vim if $EDITOR isn't defined.

This was causing issues on machines without $EDITOR set as the YAML file was then trying to be executed upon --edit.