Every CLI tool has the same validation code hidden somewhere:
Uncategorized
1
Posts
1
Posters
0
Views
-
Every CLI tool has the same validation code hidden somewhere:
- “option A requires option B”
- “can't use X and Y together”
- “this only works in production mode”
I got tired of writing it. So I built something that makes it unnecessary.
https://hackers.pub/@hongminhee/2025/stop-writing-cli-validation-parse-it-right-the-first-time
-
undefined hongminhee@hollo.social shared this topic on