Converting an existing angular 2 project to use angular CLI
<p>I have a project that was not created using <code>ng new</code> (rather, I followed the <a href="https://angular.io/docs/ts/latest/quickstart.html">quickstart</a> guide). When I run an angular CLI command in that project (such as <code>ng generate</code>) I get this error message:</p>

<blockquote>
  <p>You have to be inside an angular-cli project in order to use the generate command.</p>
</blockquote>

<p>Is there a way I can turn my existing project into an angular-cli project? (I wanted to try using it because it apparently automatically works around <a href="https://github.com/angular/angular.io/issues/1301">an issue with barrel imports and SystemJS</a>.)</p>