Node CLI that opens the CircleCI build web page from the command line.
Usage:
$ npm install -g @mthx/circleci-opener
$ cd my-git-repo
$ cio
or use npx
to try it out quickly:
$ npx --package @mthx/circleci-opener cio
Requires a CircleCI API token. This CLI
currently lifts the token from the
circleci
CLI config file.
Alternatively you can set the CIRCLE_TOKEN
environment variable.
- Assumes GitHub SSH URLs (easy fix)
- Uses
open
to launch the browser so MacOS only (trivial fix for someone able to test) - Perhaps it shouldn't require an API token - what about OSS projects? Let's try this one...