Command-line options should be available in kebab case
Requested Update
At the moment of writing this, there are two options available in camel and kebab case, and two available in camel case only (via es-check --help):
-
--allow-hash-bangand--allowHashBang -
--no-colorand--noColor -
--looseGlobMatching -
--checkFeatures
Either all options should be available exclusively in one case or the other, or all options should be available in both cases.
Why Is This Update Needed?
For consistency reasons.
Are There Examples Of This Requested Update Elsewhere?
Read about references issues here. Provide paragraph text responses to each header.
Hey @p3k ! Thanks again for the thoughtful issue.
Kabob case is supported in command line options for backwards compatibility. I don't initially feel it's worth actual breakking changes, though. Perhaps I could try to see if we could hide the options from the --help command to avoid people using kabob case moving forward...?
@yowainwright Of course, backwards compatibility is a good thing. However, the help output suggests that --looseGlobMatching and --checkFeatures are in the maintained format, and that --loose-glob-matching or --check-features are not even provided (are they?)
Hiding the (deprecated) options from help and documentation sounds like a good idea to me.
Thanks! I'll put in a little effort to fix the --help output (but low priority from my perspective).
I'll definitely correct the kabob case references in the readme.
This has been updated! Please continue to provide this good feedback. 🙏