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 ## Overview
`ng build` compiles the application into an output directory. `ng build` compiles the application into an output directory.
```bash
ng build [project]
```
### Creating a build ### Creating a build
```bash ```bash

View File

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

View File

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

View File

@ -5,6 +5,10 @@
## Overview ## Overview
`ng lint` will lint you app code using tslint. `ng lint` will lint you app code using tslint.
```bash
ng lint [project]
```
## Options ## Options
<details> <details>
<summary>configuration</summary> <summary>configuration</summary>

View File

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

View File

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

View File

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