Skip to content

Commit

Permalink
Add color environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Nov 10, 2024
1 parent 7a5adb2 commit 2c051f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,8 @@ program.configureHelp({
});
```

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

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

Expand Down

0 comments on commit 2c051f5

Please sign in to comment.