https://github.com/jellydn/moleculer-connect
A command-line interface for connecting to Moleculer microservices
https://github.com/jellydn/moleculer-connect
cli moleculerjs repl
Last synced: 4 months ago
JSON representation
A command-line interface for connecting to Moleculer microservices
- Host: GitHub
- URL: https://github.com/jellydn/moleculer-connect
- Owner: jellydn
- License: mit
- Created: 2023-11-28T15:48:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-06T20:14:38.000Z (4 months ago)
- Last Synced: 2025-06-06T21:23:58.451Z (4 months ago)
- Topics: cli, moleculerjs, repl
- Language: TypeScript
- Homepage:
- Size: 146 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to moleculer-connect 👋
> A command-line interface for connecting to Moleculer microservices
### 🏠 [Homepage](https://github.com/jellydn/moleculer-connect#readme)
## Usage
```sh
npm install moleculer-connect moleculer-repl@0.6.6
```For example, run below command to connect to a Moleculer TypeScript project:
```sh
NODE_OPTIONS='--import tsx' moleculer-connect --env --config moleculer.config.ts
```## Options
The CLI supports several options to customize the connection:
```sh
Options:
--version Show version number [boolean]
--help Show help [boolean]
-c, --config Load configuration from a file [string] [default: ""]
--ns Namespace [string] [default: ""]
--level Logging level [string] [default: "info"]
--id NodeID [string] [default: null]
-h, --hot Enable hot-reload [boolean] [default: false]
--serializer Serializer [string] [default: null]
--commands Custom REPL command file mask (e.g.: ./commands/*.js)
[string] [default: null]
```## Pre-commit hooks
This project uses [pre-commit](https://pre-commit.com/) to enforce code quality. To install the pre-commit hooks, run:
```sh
pre-commit install
```## Author
👤 **Dung Huynh Duc **
- Github: [@jelydn](https://github.com/jelydn)
## Show your support
Give a ⭐️ if this project helped you!
[](https://ko-fi.com/dunghd)
[](https://paypal.me/dunghd)
[](https://www.buymeacoffee.com/dunghd)## 📝 License
Copyright © 2023 [Dung Huynh Duc ](https://github.com/jelydn).
This project is [MIT](https://github.com/jelydn/moleculer-connect/blob/master/LICENSE) licensed.