nopt
nopt copied to clipboard
[QUESTION] Why does nopt only work with cli args?
It makes sense to me that if you have a package that takes an options = {...} object as a parameter, you'd want the same level of validation and error handeling than the one you'd have on CLI args.