2019-11-18 03:29:51 +00:00
|
|
|
# Monitor
|
2019-11-15 10:05:28 +00:00
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
```bash
|
2019-11-15 10:05:28 +00:00
|
|
|
Usage:
|
2019-11-18 03:29:51 +00:00
|
|
|
monitor [OPTIONS]
|
2019-11-15 10:05:28 +00:00
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
Application Options:
|
|
|
|
-v, --version Show version info
|
2019-11-15 10:05:28 +00:00
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
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]
|
2019-11-15 10:05:28 +00:00
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
Help Options:
|
|
|
|
-h, --help Show this help message
|
2019-11-15 10:05:28 +00:00
|
|
|
```
|
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
```bash
|
|
|
|
____ ____ ___ _____
|
|
|
|
( _ \( _ \ / __)( _ )
|
|
|
|
)(_) ))(_) )( (_-. )(_)(
|
|
|
|
(____/(____/ \___/(_____)
|
2019-11-15 10:05:28 +00:00
|
|
|
|
2019-11-18 03:29:51 +00:00
|
|
|
Name: monitor
|
|
|
|
Version: v0.0.1
|
|
|
|
BuildTime: 2019-11-18 11:07:06
|
|
|
|
GitCommit: e3587d6025ce5a777ba4e7a600c06b1e7e6f7004
|
2019-11-15 10:05:28 +00:00
|
|
|
GoVersion: go version go1.13.1 darwin/amd64
|
2019-11-18 03:29:51 +00:00
|
|
|
```
|