Skip to content

Commit 9538875

Browse files
author
Nick Pape
committed
Add color support
1 parent cf6ce7f commit 9538875

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

common/config/rush/command-line.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@
2323
]
2424
},
2525

26+
"--color": {
27+
"optionType": "enum",
28+
"description": "Enable or disable colors in the build log, defaults to 'true'",
29+
"supportedCommands": [ "build", "rebuild" ],
30+
"defaultValue": "true",
31+
"enumValues": [
32+
{
33+
"name": "true",
34+
"description": "For running on CI servers"
35+
},
36+
{
37+
"name": "false",
38+
"description": "For publishing to an NPM registry"
39+
}
40+
]
41+
},
42+
2643
"--ship": {
2744
"optionType": "flag",
2845
"description": "Perform a production build, including minification and localization steps",

0 commit comments

Comments
 (0)