Alan 068bb4001d docs: add deprecation and pr note
Docs are deprecated in favor of the the new pages in AIO which are WIP.
2019-01-09 09:14:13 -08:00

39 lines
858 B
Markdown

<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
**Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see [here](https://angular.io/cli/generate)**.
# ng generate enum
## Overview
`ng generate enum [name]` generates an enumeration
## Alias
e - `ng generate e [name]`
## 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>