CLI option --color is missing in documentation
See original GitHub issueThe command line option --color
is actually useful to enforce ANSI color codes when outputting to a pipe, e.g. in a Grunt task.
Apparently, this options is supported in ESLint 2.8.0, but it’s missing in the online doc and also in the output of
eslint -h
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Annotated List of Command-line Options - ImageMagick
Below is list of command-line options recognized by the ImageMagick ... Extract: Copies the alpha channel values into all the color channels and...
Read more >API — Click Documentation (8.1.x)
All positional arguments are passed as parameter declarations to Option ... By default Click will remove color if the output does not look...
Read more >Command Line Interface — Schemathesis 3.17.5 documentation
Schemathesis supports colorless output via the NO_COLOR <https://no-color.org/> environment variable or the --no-color CLI option.
Read more >Vault Commands (CLI) - HashiCorp Developer
CLI Command Structure Each command is represented as a command or subcommand, and there are a number of command and subcommand options available:...
Read more >Command Line Interface (CLI) - Stylelint
Use npx stylelint --help to print the CLI documentation. ... Force enabling/disabling of color. ... You can repeat the option to provide multiple...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ralfstx @meeber as I mentioned above, our tool for handling CLI output, optionator, does not support outputting both options. We use this both on the command line and to generate the documentation, so this isnt a matter of just updated the docs.
If anyone has a suggestion for how to overcome that limitation, we are open to suggestions.
Also, keep in mind that we have almost 200 open issues. We can’t fix every issue that is filed, so we need to prioritize and close issues that we don’t intend to address. That may be frustrating, and that’s unfortunate. I just ask you to keep in mind that the ESLint team is entirely a volunteer team working in their free time on ESLint, and we are doing the best we can.
@platinumazure
Sorry for that, I didn’t mean to offend anyone. However, it’s frustrating when you take the time to report a minor issue and see it being closed without the issue being addressed.
Given a file with linting errors, the following command’s output contains colors:
while the following command does not:
It’s all expected behavior, I’m just asking to add
--colors
to the documentation. If you point me to the source file, I’m happy to provide a pull request.