Last active
January 19, 2019 17:19
-
-
Save misostack/ea87bfc8d89e5c8653a3df3834678caa to your computer and use it in GitHub Desktop.
ng new --help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng new --help | |
arguments: | |
name | |
The name of the new workspace and initial project. | |
options: | |
--collection (-c) | |
A collection of schematics to use in generating the initial app. | |
--commit | |
Initial git repository commit information. | |
--create-application | |
When true (the default), creates a new initial app project in the new workspace. | |
--defaults | |
When true, disables interactive input prompts for options with a default. | |
--directory | |
The directory name to create the workspace in. | |
--dry-run (-d) | |
When true, runs through and reports activity without writing out results. | |
--experimental-ivy | |
EXPERIMENTAL: When true, creates a new app that uses the Ivy rendering engine. | |
--force (-f) | |
When true, forces overwriting of existing files. | |
--help | |
Shows a help message for this command in the console. | |
--inline-style (-s) | |
When true, includes styles inline in the component TS file. By default, an external styles file is created and referenced in the component TS file. | |
--inline-template (-t) | |
When true, includes template inline in the component TS file. By default, an external template file is created and referenced in the component TS file. | |
--interactive | |
When false, disables interactive input prompts. | |
--minimal | |
When true, creates a project without any testing frameworks. | |
--new-project-root | |
The path where new projects will be created, relative to the new workspace root. | |
--prefix (-p) | |
The prefix to apply to generated selectors for the initial project. | |
--routing | |
When true, generates a routing module for the initial project. | |
--skip-git (-g) | |
When true, does not initialize a git repository. | |
--skip-install | |
When true, does not install dependency packages. | |
--skip-tests (-S) | |
When true, does not generate "spec.ts" test files for the new project. | |
--style | |
The file extension to use for style files. | |
--verbose (-v) | |
When true, adds more details to output logging. | |
--view-encapsulation | |
The view encapsulation strategy to use in the initial project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment