Socket
Socket
Sign inDemoInstall

@dougflip/switch-and-signal-sessions

Package Overview
Dependencies
34
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dougflip/switch-and-signal-sessions

CLI to display Switch and Signal's sessions along with the remaining ticket count


Version published
Weekly downloads
11
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Switch and Signal Sessions

CLI to display Switch & Signal's sessions along with the remaining ticket count

Requirements

This requires Node 18+ at the moment because I am trying out native fetch support.

I may drop that requirement in the future.

Install

Install globally from npm

npm install --global @dougflip/switch-and-signal-sessions

If you use nvm you can create an alias to ensure your shell switches to the correct version of node to run the command.

For example:

alias skate="nvm exec v18.13.0 switch-and-signal-sessions"

Usage

View all sessions

switch-and-signal-sessions

View sessions for specific days

switch-and-signal-sessions tuesday wednesday

# the days match on case insensitive "startsWith" - which means "t" and "s" match multiple days
# for example, this outputs both tuesday AND thursday
switch-and-signal-sessions t

Local Development

On the Metal
# select correct node version and install deps
nvm use && npm install

# run the cli
npm run dev

# run the tests
npm t

# build the code and run the local cli with some args
npm run build && node ./dist/cli.js m w f
Docker
# build the code
./scripts/dev npm run build

Releasing

  1. Create a branch
  2. Implement
  3. Run ./scripts/bump-version [version] to set the version
  4. Open a PR

On merge to main the new version will be release

FAQs

Last updated on 06 Aug 2023

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc