Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 904 Bytes

README.md

File metadata and controls

51 lines (41 loc) · 904 Bytes

slack-cli

Simple command-line client for slack by golang

GoDoc

Features

  • Post message only
  • Use Incoming Web hook service on slack

Install

via Go

$ go get github.com/takecy/slack-cli

via Binary

Download and copy to your $PATH.


Usage

$ slack-cli config <incoming web hook URL>
$ slack-cli post <message>

post to specific channel (not prefix [#])

$ slack-cli post -c general <message>

Remove

via Go

$ rm $GOPATH/bin/slack-cli
$ rm -r $HOME/.slack_cli

via Binary

Remove your slac-cli binary in $PATH.
and

$ rm -r $HOME/.slack_cli

## License MIT