An open API service indexing awesome lists of open source software.

https://github.com/davidhampgonsalves/slackline

Quick templated Slack messages from terminal
https://github.com/davidhampgonsalves/slackline

cli featured golang slack

Last synced: about 1 month ago
JSON representation

Quick templated Slack messages from terminal

Awesome Lists containing this project

README

          

# Slackline
> Slackline lets you post updates/messages to slack with minimal disruption from the cmd line.



## Usage
**Post a message.**
``` sh
slackline Hello world from slackline!
```

**Setup slack token and channel via prompts. Settings saved to ~/.slackline.yml**
``` sh
slackline --init
```

**Set your slack token / channel.**
``` sh
slackline -t -c "#channel" message to post
```

**Flags can be saved to ~/.slackline.yml. Your token will be encrypted.**
``` sh
slackline -s -c "#channel" --save message to post
```

## Setup

### GO(golang)
```sh
go get github.com/davidhampgonsalves/slackline
```

## Aliases
### Zsh
Send message to #status channel in `/me` style.
```sh
me () { slackline -c "#status" _"$@"_ }
```