58 lines
758 B
Markdown
58 lines
758 B
Markdown
## ics_cli
|
|
|
|
#### use case
|
|
|
|
- show upcoming events of an .ics file
|
|
- insert events in your calendar
|
|
|
|
|
|
#### installation
|
|
|
|
```
|
|
cd src/builddir
|
|
```
|
|
|
|
```
|
|
meson compile
|
|
```
|
|
|
|
```
|
|
meson install
|
|
```
|
|
|
|
#### usage
|
|
|
|
the default path is for evolution ics files at `~/.local/share/evolution/calendar/system/calendar.ics`
|
|
```
|
|
icscli
|
|
```
|
|
|
|
for a custom path
|
|
```
|
|
icscli -f path/to/ics/file.ics
|
|
```
|
|
|
|
```
|
|
icscli -h
|
|
```
|
|
|
|
|
|
#### uninstall
|
|
|
|
```
|
|
sudo rm -f /usr/local/bin/icscli
|
|
```
|
|
|
|
#### git-hooks for ctags pre-commit
|
|
|
|
The developer has to actively enable git hooks:
|
|
```
|
|
git config --local core.hooksPath git-hooks
|
|
```
|
|
This will run `ctags` on every commit.
|
|
|
|
#### TODO
|
|
|
|
- improve and automate unit testing
|
|
- add cli argument that will not show ongoing events, only upcoming events
|