Closed rbabayoff closed 9 years ago
Thic can easily be added I guess. Would you put it as a function or method? A server-side method could be good, but then it would be also available from the client side... (should not create any problems, but perhaps not the best thing to have...)
...nothing automatic at startup hence?
A function would be better. I actually want to use it in a meteor command line program I'm creating for sending out emails. We have a package and tools that enable you to create command line programs with meteor:
https://atmospherejs.com/practicalmeteor/mcli
Regarding startup, better not, I think, in case the users collection is big. It should be a one off thing that people should run after installing the package. There is a pr in meteor that will allow to register commands with the meteor command line tool, https://github.com/meteor/meteor/pull/2718, so it's a great candidate for just that.
Ok, agreed. I'll try to add this tomorrow...
Thanks!
A little late, sorry!
See Advanced API and v1.2.0
No worries :)
To maintain data consistency with accounts that were created before package was installed.