Purpose
This CLI has a simple purpose: Cleanly and concisely display the status of the configured project’s branch in Circle CI
I built this because a common workflow for me is to push my current branch, and then ideally I could monitor CI’s progress on running the test suite, while I continue working on other things. I wanted to type a quick-n-dirty CLI command to get the same information that usually requires opening a browser, navigating to Circle CI, finding the project, finding the right branch, and then finally drilling into the testing workflow to see the test status.
Pro-Tip!
You can further extend this by leveraging a bash script to access this script from any location on your system. For example, I use the following function source’d into my bash_profile:
function hoop() {
startingPath=$(pwd)
echo "Starting at: ${startingPath}"
cd ~/path/to/hoop # You'll have to set this to the right path
yarn start --pipelineIndex="${1}"
echo "Navigating back to ${startingPath}"
cd "${startingPath}"
}
Roadmap
Feel free to check out the roadmap for this project here.
Technologies used: