Skip to content

sayatodev/petergao-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petergao CLI

A CLI wrapper for interacting with https://petergao.cc/ustpastpaper/index.php, written in Python.

Features

  • interactive TUI
  • extensive commands
  • better filenames
  • never lost track of your quota

Install

pip install -e .

Usage

Interactive UI

petergao

Commands

petergao auth
petergao quota
petergao list COMP2011
petergao download COMP2011 --exams
petergao download COMP2011 --all --outdir ./papers

Preview

Preview

Remarks

  • Sessions are stored in a local config file under your platform's config directory.
  • The default output directory is your OS Downloads directory when it exists, otherwise the current directory.
  • Use --dry-run to preview which files would be downloaded without spending quota.

About

CLI wrapper for interacting with petergao.cc/ustpastpaper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages