0.8.1 • Published 1 year ago

moleculer-cli v0.8.1

Weekly downloads
1,491
License
MIT
Repository
github
Last release
1 year ago

Moleculer logo

Command line tool for Moleculer framework NPM version

Features

  • initialize new projects from templates
  • connect to a system
  • start a local broker with REPL

Install

npm install -g moleculer-cli

Usage

Initialize new project

Init a new project for a module

moleculer init module my-module

Init a new Moleculer project

moleculer init project my-first-project

Official templates

Start a broker

Start a broker locally This command starts a new ServiceBroker locally and switches to REPL mode.

moleculer start

Start a broker and connect to a transporter The following commands start a new ServiceBroker, connect to a transporter server and switch to REPL mode.

# With TCP transporter
moleculer connect 

# With NATS transporter (you need to install NATS lib globally with `npm i nats -g` command)
moleculer connect nats://localhost:4222

# With Redis transporter (you need to install Redis lib globally with `npm i ioredis -g` command)
moleculer connect redis://localhost

# With MQTT transporter (you need to install MQTT lib globally with `npm i mqtt -g` command)
moleculer connect mqtt://localhost

Documentation

Please read our documentation on Moleculer site

Credits

The moleculer-cli project init command is based on vue-cli project.

Contribution

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.

License

Moleculer-cli is available under the MIT license.

Contact

Copyright (c) 2022 MoleculerJS

@moleculerjs @MoleculerJS

0.8.1

1 year ago

0.8.0

2 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.6

5 years ago

0.6.5

5 years ago

0.6.4

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.7

6 years ago

0.5.6

6 years ago

0.5.5

6 years ago

0.5.4

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago