Closed ungoldman closed 8 years ago
actually I'm not sure if that's right -- should argv._[0] === '-'
for that case?
ya thats right
ah ok so like cat cats.geojson | simplify-geojson - | geojsonio
would do the trick in a child_process.spawn env
yep
ok merging, will add tests in another PR
I noticed
arg
is an undefined variable (cli.js#L11). I changed it to beargv._[0]
as I think that's what it's supposed to be. I threw standard in there too, hope that's alright.