CLI to display Switch & Signal's sessions along with the remaining ticket count
This requires Node 18+ at the moment because I am trying out native fetch support.
I may drop that requirement in the future.
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"
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
# 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
# build the code
./scripts/dev npm run build
- 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