monitor/README.md

41 lines
1.3 KiB
Markdown
Raw Normal View History

2019-11-18 03:29:51 +00:00
# Monitor
2019-11-15 10:05:28 +00:00
2019-12-02 02:36:41 +00:00
[![license](https://badgen.net/badge/license/MIT/blue)](./LICENSE)
[![](https://badgen.net/github/commits/ehlxr/monitor)](https://github.com/ehlxr/monitor/commits/)
[![](https://badgen.net/github/last-commit/ehlxr/monitor)]((https://github.com/ehlxr/monitor/commits/))
[![](https://badgen.net/github/releases/ehlxr/monitor)](https://github.com/ehlxr/monitor/releases)
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:
2019-11-20 09:33:46 +00:00
-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
2019-11-15 10:05:28 +00:00
2019-11-20 09:33:46 +00:00
DingTalk Robot Options:
-t, --robot-token= DingTalk robot access token [$ROBOT_TOKEN]
-s, --robot-secret= DingTalk robot secret [$ROBOT_SECRET]
-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]
2019-11-15 10:05:28 +00:00
2019-11-18 03:29:51 +00:00
Help Options:
2019-11-20 09:33:46 +00:00
-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-20 09:33:46 +00:00
__ __ _____ _ _ ____ ____ _____ ____
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
2019-11-20 09:33:46 +00:00
Version: v0.0.2
BuildTime: 2019-11-20 16:48:12
GitCommit: d91a475301b48eea4401e7454ab83d25474399ae
GoVersion: go version go1.13.4 darwin/amd64
2019-11-18 03:29:51 +00:00
```