2024-06-16 08:26:31 +02:00
|
|
|
## ics_cli
|
|
|
|
|
|
|
|
#### use case
|
|
|
|
|
|
|
|
- show upcoming events of an .ics file
|
|
|
|
- insert events in your calendar
|
2023-08-15 16:45:54 +02:00
|
|
|
|
2023-08-15 17:08:23 +02:00
|
|
|
|
2023-08-15 20:20:39 +02:00
|
|
|
#### installation
|
2023-08-15 17:10:26 +02:00
|
|
|
|
2023-08-15 20:20:39 +02:00
|
|
|
```
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo make install
|
|
|
|
```
|
2023-08-15 17:10:26 +02:00
|
|
|
|
2023-08-30 18:05:48 +02:00
|
|
|
#### usage
|
|
|
|
|
|
|
|
the default path is for evolution ics files at `~/.local/share/evolution/calendar/system/calendar.ics`
|
|
|
|
```
|
2023-09-09 08:26:50 +02:00
|
|
|
icscli
|
2023-08-30 18:05:48 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
for a custom path
|
|
|
|
```
|
2023-09-09 08:26:50 +02:00
|
|
|
icscli -f path/to/ics/file.ics
|
2023-08-30 18:05:48 +02:00
|
|
|
```
|
|
|
|
|
2023-09-09 08:26:50 +02:00
|
|
|
```
|
|
|
|
icscli -h
|
|
|
|
```
|
2023-08-30 18:05:48 +02:00
|
|
|
|
|
|
|
|
2023-08-15 21:17:24 +02:00
|
|
|
#### uninstall
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo make uninstall
|
|
|
|
```
|
|
|
|
|
2024-07-09 08:40:13 +02:00
|
|
|
#### git-hooks for ctags pre-commit
|
2024-07-08 20:42:24 +02:00
|
|
|
|
|
|
|
The developer has to actively enable git hooks:
|
|
|
|
```
|
|
|
|
git config --local core.hooksPath git-hooks
|
|
|
|
```
|
2024-07-09 08:40:13 +02:00
|
|
|
This will run ctags on every commit.
|
2024-07-08 20:42:24 +02:00
|
|
|
|
2023-08-15 21:17:24 +02:00
|
|
|
#### TODO
|
|
|
|
|
2024-07-09 08:40:13 +02:00
|
|
|
- more unit tests
|
2024-07-08 20:42:24 +02:00
|
|
|
- also show events that have already started but not ended yet
|