Open shawnbot opened 9 years ago
Also worth considering: subarg, e.g.
tito --read [ csv --delimiter "|" ] --write tsv
This would make it easier to create the streams in cli.js
:
var read = (typeof options.read === 'object')
? formats.createReadStream(options.read._[0], options.read)
: formats.createReadStream(options.read);
Because this is unintuitive:
this might be better, and saves precious characters: