Created
May 1, 2018 12:42
-
-
Save jimkang/f7896c96b9d348be5188f60966694bdf to your computer and use it in GitHub Desktop.
Typical top of a tool script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global __dirname, process */ | |
var fs = require('fs'); | |
var ndjson = require('ndjson'); | |
var through2 = require('through2'); | |
var callNextTick = require('call-next-tick'); | |
if (process.argv.length < 3) { | |
console.log( | |
'Usage: node tools/toolname.js <export something.ndjson> > new_file.ndjson' | |
); | |
process.exit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment