This is a command-line tool for Moleculer to help developing & testing.
With this command you can scaffold a new Moleculer project.
The above command downloads the template from ice-services/moleculer-template-module, prompts some information and generates a new module to the
- module - Generate a new Moleculer module project (e.g.:
moleculer-xyz). Use it if you want to create a module for Moleculer framework
- project-simple - Generate a simple Moleculer-based project. Use it if you want to start a new project which is based on Moleculer framework
- nano - Minimal project template for one microservice. Use it if you want to create a microservice which connect to others via transporter
Where username/repo is the GitHub repo shorthand for your fork.
The shorthand repo notation is passed to download-git-repo so you can also use things like bitbucket:username/repo for a Bitbucket repo and username/repo#branch for tags or branches.
Instead of a GitHub repo, use a template from local filesystem:
This command start a new ServiceBroker locally and switch to REPL mode.
This command start a new ServiceBroker, connect to a transporter server and switch to REPL mode.