Skip to content

Commit 0344563

Browse files
clydinhansl
authored andcommitted
docs: add anonymous options and schematics list
1 parent 74bac97 commit 0344563

File tree

7 files changed

+37
-9
lines changed

7 files changed

+37
-9
lines changed

docs/documentation/build.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
## Overview
66
`ng build` compiles the application into an output directory.
77

8+
```bash
9+
ng build [project]
10+
```
11+
812
### Creating a build
913

1014
```bash

docs/documentation/e2e.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
## Overview
66
`ng e2e` serves the application and runs end-to-end tests.
77

8+
```bash
9+
ng e2e [project]
10+
```
11+
812
### Running end-to-end tests
913

1014
```bash

docs/documentation/generate.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# ng generate
44

55
## Overview
6-
`ng generate [name]` generates the specified blueprint
6+
`ng generate [name]` generates the specified schematic
77

8-
## Available blueprints:
8+
## Available Schematics:
99
- [class](generate/class)
1010
- [component](generate/component)
1111
- [directive](generate/directive)
@@ -16,6 +16,10 @@
1616
- [pipe](generate/pipe)
1717
- [service](generate/service)
1818

19+
- [application](generate/application)
20+
- [library](generate/library)
21+
- [universal](generate/universal)
22+
1923
## Options
2024
<details>
2125
<summary>dry-run</summary>

docs/documentation/lint.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
## Overview
66
`ng lint` will lint you app code using tslint.
77

8+
```bash
9+
ng lint [project]
10+
```
11+
812
## Options
913
<details>
1014
<summary>configuration</summary>
1115
<p>
12-
<code>--configuration</code> (alias: <code>-c</code>)
16+
<code>--configuration</code> (alias: <code>-c</code>)
1317
</p>
1418
<p>
1519
Specify the configuration to use.
@@ -18,7 +22,7 @@
1822
<details>
1923
<summary>tslint-config</summary>
2024
<p>
21-
<code>--tslint-config</code>
25+
<code>--tslint-config</code>
2226
</p>
2327
<p>
2428
The name of the TSLint configuration file.
@@ -27,7 +31,7 @@
2731
<details>
2832
<summary>fix</summary>
2933
<p>
30-
<code>--fix</code>
34+
<code>--fix</code>
3135
</p>
3236
<p>
3337
Fixes linting errors (may overwrite linted files).
@@ -36,7 +40,7 @@
3640
<details>
3741
<summary>type-check</summary>
3842
<p>
39-
<code>--type-check</code>
43+
<code>--type-check</code>
4044
</p>
4145
<p>
4246
Controls the type check for linting.
@@ -45,7 +49,7 @@
4549
<details>
4650
<summary>force</summary>
4751
<p>
48-
<code>--force</code>
52+
<code>--force</code>
4953
</p>
5054
<p>
5155
Succeeds even if there was linting errors.
@@ -54,7 +58,7 @@
5458
<details>
5559
<summary>silent</summary>
5660
<p>
57-
<code>--silent</code>
61+
<code>--silent</code>
5862
</p>
5963
<p>
6064
Show output text.
@@ -63,7 +67,7 @@
6367
<details>
6468
<summary>format</summary>
6569
<p>
66-
<code>--format</code>
70+
<code>--format</code>
6771
</p>
6872
<p>
6973
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).

docs/documentation/serve.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
## Overview
66
`ng serve` builds the application and starts a web server.
77

8+
```bash
9+
ng serve [project]
10+
```
11+
812
## Options
913
<details>
1014
<summary>prod</summary>

docs/documentation/update.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
## Overview
66
`ng update` Updates the current application to latest versions.
77

8+
```bash
9+
ng update [package]
10+
```
11+
812
## Options
913
<details>
1014
<summary>dry-run</summary>

docs/documentation/xi18n.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
## Overview
66
`ng xi18n` Extracts i18n messages from the templates.
77

8+
```bash
9+
ng xi18n [project]
10+
```
11+
812
## Options
913
<details>
1014
<summary>configuration</summary>

0 commit comments

Comments
 (0)