Skip to content

Commit 1f92f35

Browse files
committed
Add color environment variables
1 parent dd02267 commit 1f92f35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,8 @@ program.configureHelp({
942942
});
943943
```
944944

945-
There are _style_ methods to add color to the help, like `styleTitle` and `styleOptionText`.
945+
There are _style_ methods to add color to the help, like `styleTitle` and `styleOptionText`. There is built-in support for respecting
946+
environment variables for `NO_COLOR`, `FORCE_COLOR`, and `CLIFORCE_COLOR`.
946947

947948
Example file: [color-help.mjs](./examples/color-help.mjs)
948949

0 commit comments

Comments
 (0)