Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cu-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cu-cli

[![NPM Version](https://img.shields.io/npm/v/cu-cli)](https://www.npmjs.com/package/cu-cli) [![Build Status](https://travis-ci.com/kpfromer/cu-cli.svg?branch=master)](https://travis-ci.com/kpfromer/cu-cli) [![Coverage Status](https://coveralls.io/repos/gi

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cu-cli

NPM Version Build Status Coverage Status

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-cli

or

yarn global add cu-cli

Make 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-cu

You can clear your CU login details by running the following command.

cu-cli clean

Then you can easily get your cu or course list.

cu-cli gpa

Returns:

3.8 (95%)
cu-cli courses

Returns:

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.edu

Syncing Courses with Google Calendar

You can easily sync your course list with Google Calendar. First you need to authenticate.

cu-cli login-google

Again you can clear your CU and Google login details by running the following command.

cu-cli clean

Then run the following command to sync your events with your calendar!

cu-cli sync

From zero to hero:

A synced calendar

FAQs

Package last updated on 09 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc