micro-cli
v5.0.1
Published
The command line utility for managing [micro]services
Downloads
10
Readme
Micro CLI — The command line utility for managing [micro]services
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
- Fork this repository to your own GitHub account and then clone it to your local device
- Uninstall now-serve if it's already installed:
npm uninstall -g micro
- Link it to the global module directory:
npm link
- Transpile the source code and watch for changes:
npm start
Credits
- Copyright © 2016 Zeit, Inc and project authors.
- Licensed under MIT.
- ▲