discord-webhook-cli-0.1.0 has been yanked.
Discord-Webhook-CLI
A simple CLI for sending messages through discord web hooks. Useful for CI messages.
Installation
Requires cargo (and hence the rust toolchain) installed on your system.
Then install from crates.io:
Use
# NOTE: Will run dotenv and load from .env file if it exists, OVERWRITING CLI ARGS!
DISCORD_WEBHOOK_CLI_URL="https://your-url" DISCORD_WEBHOOK_CLI_MSG="cool message" DISCORD_WEBHOOK_CLI_USERNAME="Awesome Easy Bot"
# Or you can use the flags
# PS: RUST_LOG exists for debugging purposes
RUST_LOG="trace"