@node-micro/cli
v1.0.0-alpha.2
Published
A command-line tool to scaffold and generate microservice projects with Node Micro, based on user input. Supports interactive prompts and project templates for rapid microservice development.
Maintainers
Readme
@node-micro/cli
A command-line tool to scaffold and generate microservice projects with Node Micro. Supports interactive prompts and project templates for rapid microservice development.
Features
- Interactive CLI: Easily scaffold new microservice projects.
- Project Templates: Supports HTTP and gRPC protocols.
- Config Generation: Automatically generates configuration files.
- Developer Tools: Integrates with linting, testing, and formatting tools.
Installation
You can use the CLI directly with npx or via npm init:
npx @node-micro/cli
# or
npm init @node-micro/cliUsage
Follow the prompts to set up your microservice:
npx @node-micro/cliScripts
npm run lint— Run ESLintnpm run lint:fix— Fix lint errorsnpm run test— Run tests with Mochanpm run test:coverage— Test coverage with NYC
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT © N V Harish
