This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
ics_cli/README.md

58 lines
758 B
Markdown
Raw Normal View History

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
```
2024-11-23 15:40:51 +01:00
cd src/builddir
2023-08-15 20:20:39 +02:00
```
```
2024-11-23 15:40:51 +01:00
meson compile
```
```
meson install
2023-08-15 20:20:39 +02:00
```
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`
```
icscli
2023-08-30 18:05:48 +02:00
```
for a custom path
```
icscli -f path/to/ics/file.ics
2023-08-30 18:05:48 +02:00
```
```
icscli -h
```
2023-08-30 18:05:48 +02:00
#### uninstall
```
2024-11-23 15:40:51 +01:00
sudo rm -f /usr/local/bin/icscli
```
2024-07-09 08:40:13 +02:00
#### git-hooks for ctags pre-commit
The developer has to actively enable git hooks:
```
git config --local core.hooksPath git-hooks
```
2024-11-23 15:40:51 +01:00
This will run `ctags` on every commit.
#### TODO
- improve and automate unit testing
2024-10-05 16:05:21 +02:00
- add cli argument that will not show ongoing events, only upcoming events