| Crates.io | noce |
| lib.rs | noce |
| version | 0.1.3 |
| created_at | 2019-12-26 17:12:52.068119+00 |
| updated_at | 2019-12-26 19:39:17.185974+00 |
| description | Tool to notify on command exit - (noce) |
| homepage | |
| repository | https://gitlab.com/AlexStrNik/noce |
| max_upload_size | |
| id | 192506 |
| size | 94,123 |
A small tool written in pure Rust and tbot. Sends notification via your bot when command exit.
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 install noce
noce --stdout --time -- echo "Hello noce"