Simple command-line client for slack by golang
- Post message only
- Use Incoming Web hook service on slack
$ go get github.com/takecy/slack-cli
Download and copy to your $PATH
.
$ slack-cli config <incoming web hook URL>
$ slack-cli post <message>
post to specific channel (not prefix [#])
$ slack-cli post -c general <message>
$ rm $GOPATH/bin/slack-cli
$ rm -r $HOME/.slack_cli
Remove your slac-cli binary in $PATH
.
and
$ rm -r $HOME/.slack_cli
## License MIT