https://github.com/candidtim/icals
A program that prints today's events from a given iCal resource (URL, file)
https://github.com/candidtim/icals
Last synced: 3 months ago
JSON representation
A program that prints today's events from a given iCal resource (URL, file)
- Host: GitHub
- URL: https://github.com/candidtim/icals
- Owner: candidtim
- License: mit
- Created: 2021-10-25T22:08:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-01T14:03:18.000Z (over 4 years ago)
- Last Synced: 2025-02-25T03:42:35.322Z (over 1 year ago)
- Language: Clojure
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# icals
A program that prints today's events from a given iCal resource (URL, file).
`icals` is a concatenation of `ical` and `ls`.
## Usage
Print today's events from an iCal file (`*.ics` file) available at a given
location:
icals [-h|--help] [-f|--format FORMAT] [-d|--date DATE] LOCATION
where:
- `LOCATION` can be an URL or a file path
- `FORMAT` is a template string to use to format each event as text
- `DATE` is a date to print the events for, in YYYY-MM-DD format; default is
today
Default `FORMAT` is `{{start}} - {{end}}: {{summary}}`. `FORMAT` uses a
mustache-like syntax ([Selmer](https://github.com/yogthos/Selmer)), and accepts
following arguments: `start`, `end`, `summary`.
Using Leiningen:
lein run [OPTS] LOCATION
where `OPTS` are the same options as described bove.
## License
MIT License
Copyright (c) 2021 candidtim
See LICENSE file for more details.