What is Clion??
Clion (pronounced KLIYahn) is a command-line interface (CLI) for Ion, the TJHSST Intranet. CLI + Ion = Clion. (not gonna lie, I was pretty proud of that one…)
Table of Contents
I built Clion in node.js (the one true dev language /s), and you can get it here.
I used git-like cli as the library
for parsing the commands and subcommands. Before that, I chekced out the
commander.js library, but ultimately that did not satisfy the requirement for
being able to easily add subcommands.
Improvements and Current Bugs
I’ve slowly let Clion fall into disrepair, and I need to get around to fixing it sometime. Some high-priority issues include:
- The date is sometimes incorrect when checking the bell schedule.
- It is sometimes unclear whether you are currently logged in, and the cryptic error messages do not help with troubleshooting
- At the initial creation of Clion, OAuth was not supported. However, authentication using OAuth has since been implemented in Ion, and I would like to take advantage of that soon.