Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

hisener/slap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slap

Pipes command line output to Slack

Usage

ls -la | slap #general
echo "message from cli" | slap @halil.ibrahim

Screenshot

Install

You need a legacy token which can be issued here.

Then, you need to set an environment variable using this token.

echo "export SLACK_LEGACY_TOKEN=your-token" >> ~/.bash_profile
source ~/.bash_profile

Finally, download the script into /usr/local/bin using following command.

wget https://raw.githubusercontent.com/hisener/slap/master/slap -P /usr/local/bin && chmod +x /usr/local/bin/slap

Uninstall

Simply remove the script file and remove export statement from your .bash_profile.

Licence

MIT. Copyright (C) Halil İbrahim Şener.

About

Pipes command line output to Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages