imlucas/mongodb-datasets — pull request #26 by TZ2016 (2014-07-21 14:21:12+00:00)
Title: Patch

@imlucas
1. better bin/mongodb-datasets.js: now can do `cat schema.json | mongodb-datasets.js --size 10 > out` to write the result to file. All supported commands are:
* `--display=true/false` - whether to display the generated docs on stdout, default is true
* `--size=`
*`--populator [--uri --collection ]` - whether to populate the result to mongodb, default is false
*`--raw=true/false` whether to format the json docs, default is true
2. made Populator also a Transform stream to support chaining more pipes after it
3. enhanced the scoping feature to support access to parent-level variables by `this._$parent.`