Closed vid closed 5 months ago
Hi, makes sense. I think it's better not to have two bin options so went with the original package name, but happy to make further improvements. Thanks!
I'm thinking maybe we should add a jsonpath-plus
binary too so that people can use the package name (as you originally did in the docs), as well as the shorter jsonpath
.
Oh you're right, I just added the package name as a bin mapping.
I changed to avoid a dist file (I think CLI users can generally use the latest version) and linted the file. If you want to take a look, I think it should be ready after that.
Makes sense. For completeness (…) I added a files
directive.
Oh! I wasn't aware of that approach, reverted now.
So do the changes I added look ok?
Yes, it all "lgtm." Thanks!
Thanks for the PR! Released as part of v8.1.0
Thanks for guiding me through it.
PR description
Adds a basic command line interface. No tests are provided since it just invokes the tested lib and we aren't here to test the runtime.
Checklist
npm test
, ensuring linting passes