File tree 2 files changed +8
-13
lines changed
Filter options
packages/angular/cli/src/commands/run 2 files changed +8
-13
lines changed
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ export class RunCommandModule
38
38
39
39
const localYargs : Argv < RunCommandArgs > = argv
40
40
. positional ( 'target' , {
41
- describe : 'The Architect target to run.' ,
41
+ describe :
42
+ 'The Architect target to run provided in the the following format `project:target[:configuration]`.' ,
42
43
type : 'string' ,
43
44
demandOption : true ,
44
45
// Show only in when using --help and auto completion because otherwise comma seperated configuration values will be invalid.
Original file line number Diff line number Diff line change 1
1
Architect is the tool that the CLI uses to perform complex tasks such as compilation, according to provided configurations.
2
2
The CLI commands run Architect targets such as ` build ` , ` serve ` , ` test ` , and ` lint ` .
3
- Each named target has a default configuration, specified by an " options" object,
4
- and an optional set of named alternate configurations in the " configurations" object.
3
+ Each named target has a default configuration, specified by an ` options ` object,
4
+ and an optional set of named alternate configurations in the ` configurations ` object.
5
5
6
- For example, the " serve" target for a newly generated app has a predefined
7
- alternate configuration named " production" .
6
+ For example, the ` serve ` target for a newly generated app has a predefined
7
+ alternate configuration named ` production ` .
8
8
9
- You can define new targets and their configuration options in the "architect" section
10
- of the ` angular.json ` file.
11
- If you do so, you can run them from the command line using the ` ng run ` command.
12
- Execute the command using the following format.
13
-
14
- ```
15
- ng run project:target[:configuration]
16
- ```
9
+ You can define new targets and their configuration options in the ` architect ` section
10
+ of the ` angular.json ` file which you can run them from the command line using the ` ng run ` command.
You can’t perform that action at this time.
0 commit comments