1.0.1 • Published 2 years ago

imperial-cli v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Imperial CLI

Features and TODOs

A command line interface for the Imperial scientia website. Eventually will be extended to gitlab and panopto support (see also #4, and #6). For now, largely based on Mayank Sharma's CLI for Materials, but will eventally be extended to service all of Imperial's resource platforms (Gitlab, Panopto, Scientia).

Will be adding documentation and setting up some workflows shortly. Support and suggestions are always welcome!

usage: scientia [-h] [-v] [-c] [-o] [-d] [-a] [shortcut]

Materials for the Imperial Scientia website

positional arguments:
  shortcut       Shortcut to course

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
  -c, --clean    clean configuration and shortcuts
  -o, --open     open folder based off shortcut or selection
  -d, --dir      save folders in current directory instead
  -a, --all      download resources for all courses with saved shortcuts together

Calling it like so scientia ${shortcut_you_wish_to_assign} will then allow you to choose from a list of the modules and select the one you'd like to assign the shortcut to, which will then be saved for the next time. Implemented with fuzzy finder so you can quickly search for the module you are looking for.

The rest of the options are fairly self explanatory, if there is anything in terms of the documentation that you feel is lacking, feel free to raise an issue!