bendercito

Change your Slack status from command-line.


License
MIT
Install
pip install bendercito==0.4

Documentation

bendercito

Change your Slack status from command line.

Install

To install bendercito, just run:

$ sudo pip install bendercito

Configure

First create a config file with your favorite status.

Example config.json:

{
  "clean":
  {
    "emoji": "",
    "message": ""
  },
  "pomodoro":
  {
    "emoji": ":tomato:",
    "message": "Pomodoro don't disturb"
  },
  "pairing":
  {
    "emoji": ":beers:",
    "message": "Pairing"
  },
  "open":
  {
    "emoji": ":two_hearts:",
    "message": "Open for Pairing"
  },
  "dinning":
  {
    "emoji": ":fork_and_knife:",
    "message": "Dinning"
  },
  "doctor":
  {
    "emoji": ":syringe:",
    "message": "Doctor visit"
  }
}

Then you need to create two environment variables.

BENDERCITO_FILE="path_to_your_config_file"
BENDERCITO_SLACK_TOKEN="your_slack_token"

You can generate a Slack token from here: https://api.slack.com/custom-integrations/legacy-tokens

Usage

$ bendercito pairing
$ bendercito --list