30 lines
639 B
Markdown
30 lines
639 B
Markdown
# Monitor
|
|
|
|
```bash
|
|
Usage:
|
|
monitor [OPTIONS]
|
|
|
|
Application Options:
|
|
-v, --version Show version info
|
|
|
|
MONITOR:
|
|
-f, --file= The file to be monitored [$MONITOR_FILE]
|
|
-k, --key-word= Key word to be filter [$MONITOR_KEY_WORD]
|
|
-u, --dt-wh-url= Webhook url of dingtalk [$MONITOR_DT_WH_URL]
|
|
|
|
Help Options:
|
|
-h, --help Show this help message
|
|
```
|
|
|
|
```bash
|
|
____ ____ ___ _____
|
|
( _ \( _ \ / __)( _ )
|
|
)(_) ))(_) )( (_-. )(_)(
|
|
(____/(____/ \___/(_____)
|
|
|
|
Name: monitor
|
|
Version: v0.0.1
|
|
BuildTime: 2019-11-18 11:07:06
|
|
GitCommit: e3587d6025ce5a777ba4e7a600c06b1e7e6f7004
|
|
GoVersion: go version go1.13.1 darwin/amd64
|
|
``` |