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

sans-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sans-cli

set StAtus iN Slack from the command line interface

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

sans

GitHub license npm version Build Status

set StAtus iN Slack from the command line interface

Install

npm i sans-cli -g

Environment variables

To set status you need set the SLACK_TOKEN as environment variable

export SLACK_TOKEN="slack-token"

You can get the Slack token from authentication or legacy token

Usage

Usage: sans [options]

Options:
  -V, --version               output the version number
  -m, --message <text>        add text to the status
  -e, --emoji <type>          add emoji to the status
  -d, --duration <minutes>    clear message, emoji and presence after time frame
  -p, --presence <auto|away>  set presence
  -h, --help                  output usage information

Examples

Set a message

sans -m eating

Set an emoji

sans -e fork_and_knife

Set a presence

sans -p away

Set a message, an emoji, a presence and clean up in 25 minutes

sans -m eating -e fork_and_knife -p away -d 25

Clear status and presence

sans -m ''

You can also pass token as ENV variable

SLACK_TOKEN=token sans -m surfing -e surfer

Keywords

slack

FAQs

Package last updated on 04 Oct 2019

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