This is the first issue parsed from a related Hacker News post.
2 things https://github.com/nickjj would love to see in a checker would be:
Note, the requester is aware it's technically not possible to give a definitive answer here because supporting spaces vs equals comes down to the CLI tool itself. However, one can pick up when you mix the 2 styles and leave it up to the script author to pick a style and stick with it when possible.
This is the first issue parsed from a related Hacker News post.
2 things https://github.com/nickjj would love to see in a checker would be:
Warn me when I'm using
-hinstead of--help. When writing persisted scripts it's often more descriptive and self documenting to use long form flags when a tool gives you both options.Related source: https://nickjanetakis.com/blog/when-to-use-long-word-or-short-letter-command-line-flags
Warn user when I mix using "-p 8000:8000" and "-p=8000:8000".
Note, the requester is aware it's technically not possible to give a definitive answer here because supporting spaces vs equals comes down to the CLI tool itself. However, one can pick up when you mix the 2 styles and leave it up to the script author to pick a style and stick with it when possible.