call-me-maybe is a small CLI tool to notify you of the completion of a command
By default, the tools consumes stdin for a message's content and a title is generated for each message. The title can be specified via command line argument or generated automatically through a template given in configuration.
echo "Hello" | call-me-maybe
or (for the help message)
cargo install call-me-maybe
From within the source's directory:
cargo install --path . [--features the_features_you_want]
Supported methods of notification
The default configuration should be provided in either
title_fmt key allows formatting of the title of each message sent. The format string accepts any chrono strftime placeholder as well as
$host for the computer's hostname. If left unspecified, the format string is
Communicator basic configuration
Every communicator supports a priority number (key
priority). The communicators are tried in order of largest priority to smallest. The command will try all communicators until one succeeds.
libnotify when building to be supported.
The following keys are required:
app_token: the application token to select an application
user_token: your user's token
title_fmt = "%H:%M" [libnotify] priority = 1 [pushover] priority = 1000 app_token = "..." user_token = "..."