https://github.com/lukasmoellerch/mensa-cli
A CLI which fetches the current meals available at ETHZ mensas
https://github.com/lukasmoellerch/mensa-cli
Last synced: about 1 month ago
JSON representation
A CLI which fetches the current meals available at ETHZ mensas
- Host: GitHub
- URL: https://github.com/lukasmoellerch/mensa-cli
- Owner: lukasmoellerch
- License: mit
- Created: 2021-12-28T13:49:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T17:17:11.000Z (about 2 years ago)
- Last Synced: 2025-03-27T08:22:15.401Z (about 2 months ago)
- Language: Go
- Size: 76.2 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mensa-cli
A CLI which fetches the current meals available at ETHZ / UZH canteens## Installation
The CLI tool can be install using `go install`:
```
go install github.com/lukasmoellerch/mensa-cli
```## Usage
`mensa-cli` supports the concept of groups: a group is a collection of canteens. The default which the `mensa-cli meals` command chooses is the group `default`. You can add groups by using the `mensa-cli group add` command, it will open an editor where you can select a list of canteens to add to the group.
The main command `mensa-cli meals` fetches the list of meals for a given date. It can be used in two ways:
- `mensa-cli meals --group [group]`: fetches the list of meals for the given group
- `mensa-cli meals --filter [filter]`: fetches the list of meals from the canteens which match the given filter.The daytime (dinner / lunch) is chosen automatically, but can be overridden by using the `--daytime` flag or using the shorthand versions `--dinner` or `--lunch`.
Check out the documentation located at [docs/mensa-cli.md](docs/mensa-cli.md) for more information.