1.1.0 • Published 4 years ago
cu-cli v1.1.0
cu-cli
A command line tool for Unversity of Colorado students to quickly get their GPAs, course details and sync their classes with their Google calendars.
Install
npm i -g cu-clior
yarn global add cu-cliMake sure to install the dependencies need for
keytar.
Usage
Firstly you will need to login to your cu account. The details of your account are encrypted on the machine and stored using the system's keyring.
cu-cli login-cuYou can clear your CU login details by running the following command.
cu-cli cleanThen you can easily get your cu or course list.
cu-cli gpaReturns:
3.8 (95%)cu-cli coursesReturns:
Computer Systems (CSCI 2400-100) 4 credits MWF 15:0-15:50
Person Name - person.name@email.edu
Computer Systems (CSCI 2400-102) 0 credits M 18:0-18:50
Person Name - person.name@email.edu
Discrete Structures (CSCI 2824-001) 3 credits MWF 9:0-9:50
Person Name - person.name@email.edu
Calculus 2 (MATH 2300-015) 5 credits M-F 14:0-14:50
Person Name - person.name@email.edu
Person Name - person.name@email.edu
General Physics 2 (PHYS 1120-100) 4 credits MWF 10:0-10:50
Person Name - person.name@email.edu
General Physics 2 (PHYS 1120-430) 0 credits T 15:0-15:50
Person Name - person.name@email.edu
Experimental Physics 1 (PHYS 1140-300) 1 credits W 16:0-16:50
Person Name - person.name@email.edu
Experimental Physics 1 (PHYS 1140-302) 0 credits T 8:0-9:50
Person Name - person.name@email.eduSyncing Courses with Google Calendar
You can easily sync your course list with Google Calendar. First you need to authenticate.
cu-cli login-googleAgain you can clear your CU and Google login details by running the following command.
cu-cli cleanThen run the following command to sync your events with your calendar!
cu-cli syncFrom zero to hero:
