mantrajs / mantra-cli

Command line interface for building Meteor apps with Mantra
MIT License
135 stars 33 forks source link

Generate local mongo collection #54

Open sungwoncho opened 8 years ago

sungwoncho commented 8 years ago

Add a command to generate a local collection

e.g.

mantra g collection files --local

import {Mongo} from 'meteor/mongo';

const Files = new Mongo.Collection(null);

export default Files;