slacker-cli 0,0

Messages to slack from command line

===========

slacker-cli

.. image:: https://travis-ci.org/juanpabloaj/slacker-cli.svg?branch=master :target: https://travis-ci.org/juanpabloaj/slacker-cli .. image:: https://coveralls.io/repos/juanpabloaj/slacker-cli/badge.png?branch=master :target: https://coveralls.io/r/juanpabloaj/slacker-cli?branch=master

Send messages to Slack <https://slack.com/>_ from command line.

Usage

.. code-block:: bash

date | slacker -c slack_channel -t slack_token

Slack Token <https://api.slack.com/web#authentication>_ can be called from a enviroment variable, called SLACK_TOKEN.

You can set SLACK_TOKEN in your ~/.bashrc

.. code-block:: bash

# ~/.bashrc
export SLACK_TOKEN="slack_token_string"

.. code-block:: bash

date | slacker -c slack_channel

Send message to user

.. code-block:: bash

date | slacker -u user_name

Upload file to channel:

.. code-block:: bash

date | slacker -c slack_channel -f image.png

Add sender name and emoji avatar:

.. code-block:: bash

date | slacker -n SlackerBot -i :dancer:

Installation

.. code-block:: bash

pip install slacker-cli

Contributors

  • JuanPablo AJ <https://github.com/juanpabloaj>_
  • Marc Abramowitz <https://github.com/msabramo>_
  • David Yen <https://github.com/davidyen1124>_
  • Valentin Lab <https://github.com/vaab>_
  • Alex Jurkiewicz <https://github.com/alexjurkiewicz>_
  • Kentaro Wada <https://github.com/wkentaro>_

Related Repositories

Slacker

Slacker

Simple Slack client for the CLI ...

slacker-cli

slacker-cli

Messages to slack from command line ...


Top Contributors

juanpabloaj wkentaro msabramo vaab alexjurkiewicz davidyen1124