XJTLU-Timetable-to-ICS
A simple command-line tool for exporting timetable from XJTLU e-bridge to a iCalendar file.
CLI
npm install -g xjtlu-timetable-to-ics
$ xjtlu-timetable-to-ics -h
Usage: xjtlu-timetable-to-ics [options] <username>
A simple command-line tool for exporting timetable from XJTLU e-bridge to a iCalendar file.
Options:
-V, --version output the version number
-p, --password <password> specify password
-y, --year <year> specify the first year in the timetable (default: 2018)
-m, --month <month> specify the first month in the timetable (default: 2)
-d, --day <day> specify the first day in the timetable (default: 26)
-o, --output-file <path> write the iCal to a file
-a, --alarm <minute> alert time relative to the start time of each event
-h, --help output usage information
Examples:
$ xjtlu-timetable-to-ics username
$ xjtlu-timetable-to-ics username -p pwd -o ./xjtlu.ics
Set reminders that occur 15 minutes before the start of calendar items:
$ xjtlu-timetable-to-ics username -p pwd -a -15 -o ./xjtlu.ics
As a Module
npm install xjtlu-timetable-to-ics
const xjtluIcs = ; ;