micro-cli

5.0.1 • Public • Published

Micro CLI — The command line utility for managing [micro]services

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.

Readme

Keywords

none

Package Sidebar

Install

npm i micro-cli

Weekly Downloads

2

Version

5.0.1

License

MIT

Last publish

Collaborators

  • rauchg
  • leo