Project

slack-cli

0.0
No commit activity in last 3 years
No release in over 3 years
Small CLI client to slack. :-)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12

Runtime

 Project Readme

Slack::Cli

Small CLI client in Ruby to Slack.

Installation

Install it yourself as:

    $>gem install slack-cli

Create your token here: https://api.slack.com/docs/oauth-test-tokens

    $>cat ~/.slack-cli.yml
    slack-name:
      token: 'XXXX-XXXX-XXXX-XXXX'
    $>

Example of slack-cli.yml

42_US_ORG_bocal:
  as_user: false
  as_user_username: 'Attila-Term'
  as_user_emoji: ':alien:'
  token: 'XXX-XXX-XXX-XXX-XXX'

Usage

  $>slack-cli
    Usage: slack-cli "slack-name" "channel|@user" "message"
  $>

License

The gem is available as open source under the terms of the MIT License.