title: Cannot install plugins using CLI
body: <p>I've been able to create a project using cordova and I can run the project both locally and on my phone. However, I cannot install plugins via the command line. </p>
  
  <p>Phonegap -v : 3.1.0-0.15.0</p>
  
  <pre><code>phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
  [error] project directory could not be found
  
  cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
  [Error: Current working directory is not a Cordova-based project.]
  </code></pre>