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
switch-and-signal-sessions t
Local Development
On the Metal
nvm use && npm install
npm run dev
npm t
npm run build && node ./dist/cli.js m w f
Docker
./scripts/dev npm run build
Releasing
- Create a branch
- Implement
- Run
./scripts/bump-version [version]
to set the version - Open a PR
On merge to main
the new version will be release