Novices Plagiarizing Mozart
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    moleculer-clipublic

    Moleculer logo

    Command line tool for Moleculer framework NPM version

    Features

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

    Install

    npm install -g moleculer-cli

    Usage

    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 locally This command start a new ServiceBroker locally and switch to REPL mode.

    moleculer start

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

    # With TCP transporter 
    moleculer connect 
     
    # With NATS transporter 
    moleculer connect nats://localhost:4222
     
    # With Redis transporter 
    moleculer connect redis://localhost
     
    # With MQTT transporter 
    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) 2018 MoleculerJS

    @moleculerjs @MoleculerJS

    install

    npm i moleculer-cli

    Downloadsweekly downloads

    189

    version

    0.5.6

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar