5.0.1 • Published 8 years ago

micro-cli v5.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

npm.io

Micro CLI — The command line utility for managing microservices

Build Status npm version Slack

Usage

  Usage: micro [options] [command]

  Commands:

    help  Display help

  Options:

    -h, --help          Output usage information
    -H, --host [value]  Host to listen on
    -n, --no-babel      Skip Babel transformation
    -p, --port <n>      Port to listen on
    -v, --version       Output the version number

By default, micro will transpile the target file and its relative dependencies so that async/await and ES6 work for you.

For production, we recommend you first transpile and use --no-babel to make bootup time much faster. That said, if you don't care about how long it takes to boot, the default flags are perfectly suitable for production.

Read more about Transpilation to understand what transformations are recommended.

Main package

You can find the core of the "micro" package system here.

Contribute

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Uninstall now-serve if it's already installed: npm uninstall -g micro
  3. Link it to the global module directory: npm link
  4. Transpile the source code and watch for changes: npm start

Credits

  • Copyright © 2016 Zeit, Inc and project authors.
  • Licensed under MIT.