Closed faeron closed 6 years ago
Nice new feature, thanks!
I released it in 0.6.1. By the way, if you have time, could you help me to add this feature to the docs of CLI? https://github.com/moleculerjs/site/blob/master/source/docs/0.13/moleculer-cli.md#commands
Thanks in advance!
When creating a new project from a custom template it is now possible to have a mapping from custom template name to template/repo url. So the init command is usable for custom templates as it is for built in templates (even overrides are possible).
The config file
~/.moleculer-templates.json
is just a simple mapping where key is the template name and value is the desired template/repo url. The resolution works just like if the templateName was given to the original init command