https://github.com/synw/microb-cli
Terminal client for Microb services
https://github.com/synw/microb-cli
Last synced: 2 months ago
JSON representation
Terminal client for Microb services
- Host: GitHub
- URL: https://github.com/synw/microb-cli
- Owner: synw
- License: mit
- Created: 2017-02-18T12:41:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T09:59:20.000Z (almost 7 years ago)
- Last Synced: 2025-02-19T12:51:13.257Z (3 months ago)
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microb terminal client
Terminal client for [Microb](https://github.com/synw/microb) services
### Configure
Configure your servers in `config.json`:
```javascript
{
"servers":[
{
"name": "localhost",
"centrifugo_addr":"localhost:8001",
"centrifugo_key":"secret_key"
},
{
"name": "another_one",
"centrifugo_addr":"localhost:8001",
"centrifugo_key":"secret_key"
}
],
"services":["infos", "http", "mail"]
}
```### Run
```bash
./microb-cli
# or
./microb-cli -u=localhost
# start using localhost server
```## Available commands
- **use**: server to use
- **using**: server beeing used
### Available services:
- [Http](https://github.com/synw/microb-http): an http server
- [Mail](https://github.com/synw/microb-mail): send mailsCredits
-------- [Go prompt](https://github.com/c-bata/go-prompt): library to handle the terminal prompt