-
Notifications
You must be signed in to change notification settings - Fork 0
User guide
Welcome to the GL02_TriCode user guide!
This guide will help you install and use the GL02_TriCode software to manage and analyze classroom and course scheduling data.
- Recent LTS version of Node.js
- npm package management tool
Before using this software, you must install all dependencies using the following command:
npm installYou can then access the software documentation with:
node ./caporalCli.js --helpYou can execute this software in command line. Here are all the useful commands that you could need and how to use them. If there is an error in your command, you will reveive a message explaining why it didn't work, what error you could have made.
Description: For a given course, gets all the associated classrooms and for which course type it is used (lecture, tutorial, lab work).
Required arguments:
- File path to search in
- Course ID to search for
Example:
node ./caporalCli.js get-classroom ./sample.cru +AP03Description: For a given classroom, gets its capacity.
Required arguments:
- File path to search in
- Classroom ID to search for
Example:
node ./caporalCli.js get-capacity ./sample.cru B103Description: For a given classroom, gets all available timeslots.
Required arguments:
- Classroom id to search for in all CRU files
Example:
node ./caporalCli.js get-slots B101Description: For a given timeslot, gets all available classrooms for this week.
Required arguments:
- Timeslot given as
DAY HH:MM
Example:
node ./caporalCli.js get-free-classrooms sample.cru J 12:00Description: For given period, creates an ICS file to be used as a timetable.
Required arguments:
- Start date as YYYY-MM-DD (minimum date: 2024-01-01)
- End date as YYYY-MM-DD (maximum date: 2025-12-31)
- Between 1 and 6 course IDs
- [Optional]: Valid file path to create the file in. The file will be created in the current directory if no file path is provided.
Example:
node ./caporalCli.js get-calendar 2024-12-06 2024-12-20 +NF16 +GL02 +PO03Description: For a given file, displays a list of classrooms ranked by occupancy and generates a visualization of the classrooms occupancy rate.
Required arguments:
- File path to get classrooms from
Example:
node ./caporalCli.js generate-occupancy sample.cruDescription: For a given file, displays a list of classrooms ranked by capacity and generates a visualization of the classrooms capacity.
Required arguments:
- File path to get classrooms from
Example:
node ./caporalCli.js rank-classrooms sample.cru