The moleculer-repl
is an interactive console.
- list nodes
- list services
- list actions
- list events
- call services
- emit events
- load services (from file or folder)
- show local informations & configuration
- benchmark services
npm install moleculer-repl --save
Start broker in REPL mode
const broker = new ServiceBroker();
broker.start().then(() => {
// Start REPL
broker.repl();
});
You will get a console:
mol $
Run help
to see available commands.
Please read our documentation on Moleculer site
Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.
The project is available under the MIT license.
Copyright (c) 2020 MoleculerJS