mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
1008 B
1008 B
Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see here.
ng generate interface
Overview
ng generate interface [name] <type>
generates an interface
Alias
i - ng generate i [name]
Options
dry-run
--dry-run
(alias: -d
)
Run through without making any changes.
force
--force
(alias: -f
)
Forces overwriting of files.
project
--project
The name of the project.
prefix
--prefix
Specifies the prefix to use.