perak / extract-mongo-schema

Extract schema from Mongo database, including foreign keys
71 stars 22 forks source link

Added support for piping output to STDOUT #34

Closed unkwntech closed 1 year ago

unkwntech commented 1 year ago

Added support for STDOUT, including disabling info messages when STDOUT is picked. This allows for the resultant JSON to be piped to other command line applications, without the need of an intermediate file.

To select STDOUT as the output set the output flag to - Example: extract-mongo-schema -d "mongodb://localhost:3001/meteor" -o -