New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

slack-cli-stream

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-cli-stream

slack stream

latest
Source
npmnpm
Version
1.4.2
Version published
Weekly downloads
29
262.5%
Maintainers
1
Weekly downloads
 
Created
Source

slack-cli-stream

Greenkeeper badge CircleCI

Installation

$ npm install -g slack-cli-stream

Usage

default

$ slack-cli-stream --token xoxp-**********

settings

$ slack-cli-stream --settings setting.yaml

setting.yaml

  • token: 【必須】Slackトークン
  • twitter: 【任意】twitter APIのconsumer, accessのそれぞれのkey, secret
  • hooks
    • user: フックさせる際に対象ユーザーを固定する場合に指定
    • channel: フックさせる際に対象チャンネルを固定する場合に指定
    • keyword: 特定のキーワードのみにフックさせる場合に指定
    • cron: 設定に記載したhookの発動条件をcron表記で指定
    • hook: フック条件に合致し、発火した場合に実行するコマンドを記述
  • theme
    • text: メッセージ表示色
    • date: 日付表示職
token: xoxp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
twitter:
  consumer_key: ***
  consumer_secret: ***
  access_token_key: ***
  access_token_secret: ***
hooks:
  -
    user: hideack
    hook: curl -X PUT https://pixe.la/v1/users/hideack/graphs/slack-message/increment -H 'X-USER-TOKEN:xxxx' -H 'Content-Length:0'
  -
    user: hideack
    channel: general
    keyword: hello
    hook: say hello
  -
    cron: "*/5 12-23 * * *"
    hook: "curl -X POST -d "fizz=buzz2" http://requestbin.fullcontact.com/xxxxxxx"
theme:
  text: green
  date: green

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

License

Apache-2.0

Keywords

slack

FAQs

Package last updated on 06 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts