Sunday, 3 November 2019

What are the different options can be used with CLI ng new Command?


Below are default values, alias and a short description which can be used with ng new command to create a new project.

Flag
Type
Default
Alias
Purpose
--dry-run
Boolean
false
-d
Run through without making any changes. Just reports the files that will be created
--skip-install
Boolean
false
-si
Skip installing packages
--skip-tests
Boolean
false
-st
Skip creating tests
--inline-style
Boolean
false
-is
Use inline styles when generating the new application
--inline-template
Boolean
false
-it
Use inline templates when generating the new project


No comments:

Post a Comment