--directory
(alias: -d
) default value: dir
The directory name to create the app in.
--dry-run
(alias: -d
) default value: false
Run through without making any changes. Will list all files that would have been created when running ng new
.
--inline-style
(alias: -s
) default value: false
Should have an inline style.
--inline-template
(alias: -t
) default value: false
Should have an inline template.
--minimal
default value: false
Should create a minimal app.
--prefix
(alias: -p
) default value: app
The prefix to use for all component selectors.
You can later change the value in .angular-cli.json (apps[0].prefix
).
--routing
default value: false
Generate a routing module.
--skip-commit
(alias: -sc
) default value: false
Skip committing the first commit to git.
--skip-git
(alias: -g
) default value: false
Skip initializing a git repository.
--skip-install
(alias: -si
) default value: false
Skip installing packages.
--skip-tests (aliases:
-S) default value: false
Skip creating spec files.
Skip including e2e functionality.
--source-dir
(alias: -D
) default value: src
The name of the source directory.
You can later change the value in .angular-cli.json (apps[0].root
).
--style
default value: css
stylus
)
You can later change the value in .angular-cli.json (defaults.styleExt
).
--verbose
(alias: -v
) default value: false
Adds more details to output logging.