Skip to content

Commit d039c8a

Browse files
committed
docs: edit run terminology
1 parent fa00d50 commit d039c8a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/angular/cli/commands/run-long.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ Each named target has a default configuration, specified by an "options" object,
44
For example, the "build" target for a newly generated app has a predefined alternate configuration named "production".
55

66
You can define new targets and their configuration options in the "architect" section of the `angular.json` file.
7-
If you do so, you can run them from the command line using the `ng run` command.
8-
7+
If you do so, you can run them from the command line using the `ng run` command.

packages/angular/cli/commands/run.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "http://json-schema.org/schema",
33
"$id": "ng-cli://commands/run.json",
4-
"description": "Runs an architect target with a custom build configuration defined in your project.",
5-
"$longDescription": "",
4+
"description": "Runs an architect target with a custom builder configuration defined in your project.",
5+
"$longDescription": "./run-long.md",
66

77
"$aliases": [],
88
"$scope": "in",
@@ -15,14 +15,14 @@
1515
"properties": {
1616
"target": {
1717
"type": "string",
18-
"description": "The command to run.",
18+
"description": "The target to run.",
1919
"$default": {
2020
"$source": "argv",
2121
"index": 0
2222
}
2323
},
2424
"configuration": {
25-
"description": "A named build configuration, defined in the \"configurations\" section of angular.json.\nThe build uses the configuration associated with the given target.",
25+
"description": "A named builder configuration, defined in the \"configurations\" section of angular.json.\nThe builder uses the named configuration to run the given target.",
2626
"type": "string",
2727
"aliases": [ "c" ]
2828
}

0 commit comments

Comments
 (0)