Queue (Q) CLI (qio
) is a command line interface to eecsoh.eecs.umich.edu, i.e. the Office Hours Queue (Q).
TODO
Make sure you have a session stored in .ohsession
or ~/.ohsession
. You can obtain this by signing in to the queue and finding the cookie called session
in your browser's memory. Note that these sessions have a TTL of one month so this file will need to be updated monthly.
Use agio
to download a list of groups.
$ agio groups -p <PROJECT_PK> -j > groups.json
Use qio
to upload the downloaded groups.
$ qio groups put <QUEUE_ID> -f groups.json
Example:
$ agio groups -p 1524 -j > groups.json
$ qio groups put 1gpzfffFeITHiGHBSvCaF106XfC -f groups.json
Make sure you have a Google Calendar key stored in .gcalkey
or ~/.gcalkey
.
Use qio
to download groups from Google Calendar and upload them.
$ qio schedule put <QUEUE_ID> -g <GOOGLE_CALENDAR_ID>
Example:
$ qio groups put 1gpzfffFeITHiGHBSvCaF106XfC -g c_vf0mfqo3skg16fka7aspdv97ts@group.calendar.google.com
See the guide for guide for contributing.
Q CLI is written by Justin Applefield jmapple@umich.edu and inspired by Autograder.io CLI