update at 2019-11-20 17:33:46 by ehlxr

This commit is contained in:
ehlxr 2019-11-20 17:33:46 +08:00
parent d91a475301
commit b37194ae12

View File

@ -5,27 +5,32 @@ Usage:
monitor [OPTIONS] monitor [OPTIONS]
Application Options: Application Options:
-v, --version Show version info -f, --monitor-file= The file to be monitored [$MONITOR_FILE]
-k, --search-keyword= Key word to be search for [$SEARCH_KEYWORD]
-v, --version Show version info
MONITOR: DingTalk Robot Options:
-f, --file= The file to be monitored [$MONITOR_FILE] -t, --robot-token= DingTalk robot access token [$ROBOT_TOKEN]
-k, --key-word= Key word to be filter [$MONITOR_KEY_WORD] -s, --robot-secret= DingTalk robot secret [$ROBOT_SECRET]
-u, --dt-wh-url= Webhook url of dingtalk [$MONITOR_DT_WH_URL] -m, --robot-at-mobiles= The mobile of the person will be at [$ROBOT_AT_MOBILES]
-a, --robot-at-all Whether at everyone [$ROBOT_AT_ALL]
Help Options: Help Options:
-h, --help Show this help message -h, --help Show this help message
``` ```
```bash ```bash
__ __ _____ _ _ ____ ____ _____ ____ __ __ _____ _ _ ____ ____ _____ ____
( \/ )( _ )( \( )(_ _)(_ _)( _ )( _ \ ( \/ )( _ )( \( )(_ _)(_ _)( _ )( _ \
) ( )(_)( ) ( _)(_ )( )(_)( ) / ) ( )(_)( ) ( _)(_ )( )(_)( ) /
(_/\/\_)(_____)(_)\_)(____) (__) (_____)(_)\_) (_/\/\_)(_____)(_)\_)(____) (__) (_____)(_)\_)
Name: monitor Name: monitor
Version: v0.0.1 Version: v0.0.2
BuildTime: 2019-11-18 11:07:06 BuildTime: 2019-11-20 16:48:12
GitCommit: e3587d6025ce5a777ba4e7a600c06b1e7e6f7004 GitCommit: d91a475301b48eea4401e7454ab83d25474399ae
GoVersion: go version go1.13.1 darwin/amd64 GoVersion: go version go1.13.4 darwin/amd64
``` ```