Skip to content

takecy/slack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple command-line client for slack by golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages