-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for no color output #90
Copy link
Copy link
Open
Description
The Curst Framework, shows currently each time coloured output even in a non-interactive shells and when using with the env variable NO_COLOR=1 set. For the implementation of the env variable NO_COLOR=1 approach is a specification or documentation at https://no-color.org/ available, which I often implement in CLI's which I developed with yargs.
- Optional add support for https://no-color.org/.
- Optional add no-color output when a CLI based on Crust is executed in a non-interactive shell.
- Optional add
noColorPlugin()to Crust Framework, which can be added via.use(...)to a Crust CLI, and adds to the CLI a new option--no-colors
For non-breaking changes there might be the idea with creating a noColorPlugin() the best solution, which adds the support for https://no-color.org/, no color output in non-interactive shell, and the CLI option --no-colors to the project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
In progress