Skip to content

A program that prints today's events from a given iCal resource (URL, file)

License

Notifications You must be signed in to change notification settings

candidtim/icals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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), 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.

About

A program that prints today's events from a given iCal resource (URL, file)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published