docs: add anonymous options and schematics list

This commit is contained in:
Charles Lyding 2018-05-09 13:47:31 -04:00 committed by Hans
parent 74bac97ce0
commit 0344563355
7 changed files with 37 additions and 9 deletions

View File

@ -5,6 +5,10 @@
## Overview
`ng build` compiles the application into an output directory.
```bash
ng build [project]
```
### Creating a build
```bash

View File

@ -5,6 +5,10 @@
## Overview
`ng e2e` serves the application and runs end-to-end tests.
```bash
ng e2e [project]
```
### Running end-to-end tests
```bash

View File

@ -3,9 +3,9 @@
# ng generate
## Overview
`ng generate [name]` generates the specified blueprint
`ng generate [name]` generates the specified schematic
## Available blueprints:
## Available Schematics:
- [class](generate/class)
- [component](generate/component)
- [directive](generate/directive)
@ -16,6 +16,10 @@
- [pipe](generate/pipe)
- [service](generate/service)
- [application](generate/application)
- [library](generate/library)
- [universal](generate/universal)
## Options
<details>
<summary>dry-run</summary>

View File

@ -5,11 +5,15 @@
## Overview
`ng lint` will lint you app code using tslint.
```bash
ng lint [project]
```
## Options
<details>
<summary>configuration</summary>
<p>
<code>--configuration</code> (alias: <code>-c</code>)
<code>--configuration</code> (alias: <code>-c</code>)
</p>
<p>
Specify the configuration to use.
@ -18,7 +22,7 @@
<details>
<summary>tslint-config</summary>
<p>
<code>--tslint-config</code>
<code>--tslint-config</code>
</p>
<p>
The name of the TSLint configuration file.
@ -27,7 +31,7 @@
<details>
<summary>fix</summary>
<p>
<code>--fix</code>
<code>--fix</code>
</p>
<p>
Fixes linting errors (may overwrite linted files).
@ -36,7 +40,7 @@
<details>
<summary>type-check</summary>
<p>
<code>--type-check</code>
<code>--type-check</code>
</p>
<p>
Controls the type check for linting.
@ -45,7 +49,7 @@
<details>
<summary>force</summary>
<p>
<code>--force</code>
<code>--force</code>
</p>
<p>
Succeeds even if there was linting errors.
@ -54,7 +58,7 @@
<details>
<summary>silent</summary>
<p>
<code>--silent</code>
<code>--silent</code>
</p>
<p>
Show output text.
@ -63,7 +67,7 @@
<details>
<summary>format</summary>
<p>
<code>--format</code>
<code>--format</code>
</p>
<p>
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).

View File

@ -5,6 +5,10 @@
## Overview
`ng serve` builds the application and starts a web server.
```bash
ng serve [project]
```
## Options
<details>
<summary>prod</summary>

View File

@ -5,6 +5,10 @@
## Overview
`ng update` Updates the current application to latest versions.
```bash
ng update [package]
```
## Options
<details>
<summary>dry-run</summary>

View File

@ -5,6 +5,10 @@
## Overview
`ng xi18n` Extracts i18n messages from the templates.
```bash
ng xi18n [project]
```
## Options
<details>
<summary>configuration</summary>