Skip to content

juanpabloaj/node-slack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-slack-cli

npm version

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

About

Send messages to Slack from the command line with nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published