mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
45 lines
822 B
Markdown
45 lines
822 B
Markdown
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
|
|
|
|
# ng generate interface
|
|
|
|
## Overview
|
|
`ng generate interface [name] <type>` generates an interface
|
|
|
|
## Options
|
|
<details>
|
|
<summary>dry-run</summary>
|
|
<p>
|
|
<code>--dry-run</code> (alias: <code>-d</code>)
|
|
</p>
|
|
<p>
|
|
Run through without making any changes.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>force</summary>
|
|
<p>
|
|
<code>--force</code> (alias: <code>-f</code>)
|
|
</p>
|
|
<p>
|
|
Forces overwriting of files.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>project</summary>
|
|
<p>
|
|
<code>--project</code>
|
|
</p>
|
|
<p>
|
|
The name of the project.
|
|
</p>
|
|
</details>
|
|
<details>
|
|
<summary>prefix</summary>
|
|
<p>
|
|
<code>--prefix</code>
|
|
</p>
|
|
<p>
|
|
Specifies the prefix to use.
|
|
</p>
|
|
</details>
|