Vorpal & Webpack based CLI for Angular2 applications.
npm i ng2-cli -g
Start cli with the
Creates new project and steps into directory.
name- name of your project (required)
path- path where project will be created
skip-npm- skips the npm dependencies installation
skip-git- skips git initialization
Generates Angular2 component.
All generated components are automatically imported into main AppModule and injected in declarations.
Serves your application.
Builds your project. You must be in project directory to build your project.
Clears the terminal window.
Prints the info of the current project.
Searches for projects in current directory.
Prints current working directory.
Changes current working directory.