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)
call-me-maybe -h
cargo install call-me-maybe
From within the source's directory: cargo install --path . [--features the_features_you_want]
The default configuration should be provided in either ~/.callmemaybe
or ~/.callmemaybe.toml
.
The 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 $host %a-%b-%Y
.
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.
Requires feature libnotify
when building to be supported.
The following keys are required:
app_token
: the application token to select an applicationuser_token
: your user's token
title_fmt = "%H:%M"
[libnotify]
priority = 1
[pushover]
priority = 1000
app_token = "..."
user_token = "..."