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-19 08:36:40 +00:00
|
|
|
|
|
|
|
__ __ _____ _ _ ____ ____ _____ ____
|
|
|
|
( \/ )( _ )( \( )(_ _)(_ _)( _ )( _ \
|
|
|
|
) ( )(_)( ) ( _)(_ )( )(_)( ) /
|
|
|
|
(_/\/\_)(_____)(_)\_)(____) (__) (_____)(_)\_)
|
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
|
|
|
```
|