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
- Host: GitHub
- URL: https://github.com/davidhampgonsalves/slackline
- Owner: davidhampgonsalves
- License: unlicense
- Created: 2015-05-30T17:03:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T12:54:32.000Z (about 6 years ago)
- Last Synced: 2024-06-20T13:34:01.919Z (about 2 years ago)
- Topics: cli, featured, golang, slack
- Language: Go
- Homepage:
- Size: 2.73 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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" _"$@"_ }
```