2022-08-12 19:54:39 +02:00
|
|
|
# cal8tor • **cal**endar P**8** extrac**tor**
|
2022-08-16 18:48:16 +02:00
|
|
|
Extractor of the calendar of the IT degree of university Paris 8.
|
|
|
|
|
2022-08-17 15:26:34 +02:00
|
|
|
## Build and run
|
|
|
|
You will need Rust installed to compile the program.
|
|
|
|
|
|
|
|
1. Clone the repo and get in
|
|
|
|
```bash
|
|
|
|
$ git clone https://git.kennel.ml/Anri/cal8tor.git && cd cal8tor
|
|
|
|
```
|
|
|
|
2. Build the app and get in the output folder
|
|
|
|
```bash
|
|
|
|
$ cargo build --release && cd target/release/
|
|
|
|
```
|
|
|
|
3. Run the app, here the help page will be displayed
|
|
|
|
```
|
|
|
|
$ ./cal8tor --help
|
|
|
|
```
|
|
|
|
|
2022-08-16 18:48:16 +02:00
|
|
|
## **WIP:** See the calendar in your terminal
|
2022-08-17 15:03:42 +02:00
|
|
|
For the L2-X, run:
|
2022-08-16 18:48:16 +02:00
|
|
|
```bash
|
2022-08-17 15:03:42 +02:00
|
|
|
$ ./cal8tor l2-X
|
2022-08-16 18:48:16 +02:00
|
|
|
```
|
|
|
|
|
2022-08-17 15:03:42 +02:00
|
|
|
## Export the calendar in .ics format
|
|
|
|
For the L1-A, run:
|
2022-08-16 18:48:16 +02:00
|
|
|
```bash
|
2022-08-17 15:03:42 +02:00
|
|
|
$ ./cal8tor L1A --export calendar.ics
|
2022-08-16 18:48:16 +02:00
|
|
|
```
|
|
|
|
|
2022-08-17 15:26:34 +02:00
|
|
|
> The file include the timezone for `Europe/Paris` and is in
|
|
|
|
compliance with [this validator tool](https://icalendar.org/validator.html).
|
2022-08-16 18:48:16 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
Please open a PR if you want to improve the project!
|