A CLI for Yasno Outage Scheduling API.
Warning
🚧 This is a pet project / sandbox for exploring various dev tools. Do not use in production 😎.
Install with uv
:
uv tool install --from git+https://github.com/alk3mist/temno.git temno
or with pipx
:
pipx install --python=3.13 "temno @ git+https://github.com/alk3mist/temno.git"
You can also run commands without installing:
uvx --from git+https://github.com/alk3mist/temno.git temno <command>
❯ temno --help
Usage: temno [OPTIONS] COMMAND [ARGS]...
...
❯ temno cities dnipro
1 - м. Апостолове
2 - м. Верхівцеве
...
❯ temno streets dnipro --city-id=7
2881 - вул. Сірова
2882 - вул. Січнева
...
❯ temno houses dnipro --street-id=2881
17 - 3.1
...
❯ temno schedule weekly dnipro 1.1
MON - 00:00 - 04:00 - POSSIBLE_OUTAGE
...
SUN - 21:00 - 00:00 - POSSIBLE_OUTAGE
❯ temno schedule daily dnipro 5.1 # today by default
08:00 - 09:00 - DEFINITE_OUTAGE
16:00 - 19:30 - DEFINITE_OUTAGE
❯ temno schedule daily dnipro 5.2 tomorrow
13:00 - 16:30 - DEFINITE_OUTAGE
❯ temno schedule weekly dnipro 2.1 --ical group_2_1.ics
The calendar saved to "/home/greenlantern/group_2_1.ics"
❯ temno schedule daily dnipro 2.1 --ical group_2_1.ics
The calendar saved to "/home/greenlantern/group_2_1.ics"