Command-line utility for prinitng events and tasks from the macOS calendar database.
# To show events later today:
icalBuddy -n -f eventsToday
# To show uncompleted tasks:
icalBuddy -f uncompletedTasks
# To show tasks for the next 3 days:
icalBuddy -n -f tasksDueBefore:today+3
# To show events in a time range:
icalBuddy -f eventsFrom:'<start date>' to:'<end date>'
# To show custom event list:
icalBuddy -f -npn -nc -iep "title,datetime" -ps "| : |" -po "datetime,title" -tf "" -df "%RD" -eed eventsToday+10