Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.42 KB

README.md

File metadata and controls

54 lines (35 loc) · 1.42 KB

Queue CLI

Queue (Q) CLI (qio) is a command line interface to eecsoh.eecs.umich.edu, i.e. the Office Hours Queue (Q).

Quick start

TODO

Usage

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.

Groups

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

Schedule

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 [email protected]

Contributing

See the guide for guide for contributing.

Acknowledgements

Q CLI is written by Justin Applefield [email protected] and inspired by Autograder.io CLI