Socket
Book a DemoInstallSign in
Socket

slack-cmd

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-cmd

slack slash command client

0.0.3
latest
npmnpm
Version published
Maintainers
1
Created
Source

Slack Slash Commander

Call slack slash commands from cli.

What is slack slash commands ?
=> https://api.slack.com/slash-commands

Installation

$ npm install -g slack-cmd

Options

-w

slack workspace name.
You can get web URL https://WORKSPACE_NAME.slack.com/

-c

slack slash command.
ex. /topic this is develop topic => topic

-t

slack slash command text.
ex. /topic this is develop topic => "this is develop topic"

-C

Slack Channel ID.
How to get Channel ID ?

-T

Slack API Token.
You can get URL https://api.slack.com/custom-integrations/legacy-tokens

Example

slash command set topic: /topic this is develop topic

$ slack-cmd -w xxx -c topic -t "this is develop topic" -C xxxxx -T xxxx-xxxxxxxxx-xxxx

subscribe GitHub notification: /github subscribe owner/repository

Install GitHub Slack App: https://slack.com/apps/A8GBNUWU8-github

$ slack-cmd -w xxx -c github -t "subscribe owner/repository" -C xxxxx -T xxxx-xxxxxxxxx-xxxx

FAQs

Package last updated on 28 Jul 2018

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.