node-slack-cli

0.0.2 • Public • Published

node-slack-cli

Send messages to slack.com from command line with nodejs.

Install

npm install node-slack-cli -g

Environment variables

To send to slack.com you need set the SLACK TOKEN as environment variable

export SLACK_TOKEN="slack-token"

You can get the Slack token from https://api.slack.com/web#auth

Usage

slack -c slackChannelName -m "message to send"

Set a username

slack -c slackChannelName -m "message to send" -u myUsername

Readme

Keywords

none

Package Sidebar

Install

npm i node-slack-cli

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • juanpablo