node2nix
node2nix copied to clipboard
No argument validation check.
It seem like node2nix don't check for invalid argument.
This could be the source of confusing if there is any typo on argument, for example, --deopment instead of --develpment.
$ node2nix --version
node2nix 1.6.0
$ node2nix --whatever --developmento
fetching local directory: ./. from .
Agreed. I probably need to use a better option parsing library to make this happen. I'll investigate (hopefully) soon.
I just merged a pull request that seems to fix this: b562936d7861a6601cb0a680893ff5772aa5ca5b