4 个版本
0.1.3 | 2019年12月26日 |
---|---|
0.1.2 | 2019年12月26日 |
0.1.1 | 2019年12月26日 |
0.1.0 | 2019年12月26日 |
#1743 in 开发工具
24KB
152 行
noce - (命令退出通知)
一个用纯 Rust 和 tbot 编写的简单工具。在命令退出时通过您的机器人发送通知。
USAGE:
noce.exe [FLAGS] [OPTIONS] --chat-id <chat-id> --token <token> [command]...
FLAGS:
-h, --help Prints help information
-e, --stderr The stderr will be sent if enabled
-o, --stdout The stdout will be sent if enabled
-s, --silent Don't print stderr and stdout to console if enabled
-t, --time Measure execution time if enabled
-V, --version Prints version information
OPTIONS:
--chat-id <chat-id> Id of the chat in which the notification will be sent, $NOCE_CHAT_ID if not present
-n, --name <name> Displayed name, command name if not present
--token <token> Token of the bot which will be used for sending notification, $NOCE_BOT_TOKEN if not present
ARGS:
<command>... Command to run.
安装
cargo安装 noce
示例
noce--stdout--time--echo"Hello noce"
作者
- AlexStrNik [email protected]
- SnejUgal [email protected]
依赖项
~13–25MB
~340K SLoC