Simple code written in go, to push messages to slack channel.
Current version: 0.2.0
Download links:
Help and usage:
NAME:
Slack Push Message - Enjoy sending messages through the terminal
USAGE:
slack-cli [global options] [arguments...]
VERSION:
0.2.0
AUTHOR:
Boris Bakshiyev
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--message message, -m message The message to be sent
--webhook webhook, -w webhook The slack webhook
--username username, -u username The username which will be shown as the sender
--channel channel, -c channel The channel to send the message too
--help, -h show help
--version, -v print the version
Example:
./slack --channel "test_channel" \
--webhook "https://hooks.slack.com/services/JUSTEXAMPLE/WEBHOOK/ABcdER5" \
--username "test_bot" \
--message "Test message \n New line with <https://github.com/berkil|url>" \
--emoji ":ant:"