structix fa60bb7efd Replace comfy-table with prettytable
This reduces the amount dependencies
2024-04-24 00:06:03 +02:00
2022-11-17 23:19:34 +01:00
2024-04-24 00:06:03 +02:00
2022-11-15 16:26:59 +01:00
2022-11-17 23:19:34 +01:00

tuemensa

tuemensa is a simple cli tool to retrieve the current meal plan.

Usage

Options:

  • -m, --morgenstelle Show Mensa Morgenstelle
  • -s, --shedhalle Show Mensa Shedhalle
  • -p, --plaintext Format as plain text
  • -o, --oneline Use very short format (oneline)
  • -d, --days <DAYS> Offset of days in the future (valid inputs 0-7) [default: 0]
  • -v, --vegetarian Show the vegetarian menu
  • -h, --help Print help information
  • -V, --version Print version information

Examples

Display the current plan for both canteens:

tuemensa -s -m

Example screenshot:

MorgenstelleShedhalle

Display the plan for the next day:

tuemensa -s -d 1

The oneline is useful if you integrate this tool as a desktop widget and like to get just a basic idea of the current available meal.

tuemensa -s -o

Example screenshot:

CommandOutput

For KDE this can be achieved with the Plasma 5 Applet Command Output.

Build

Use the cargo build -r command inside the root of this project.

Description
Mensa Tübingen CLI tool
Readme 299 KiB
Languages
Rust 100%