Skip to content

Commit 2ea6ee8

Browse files
committed
✨ Add calendar label filter cli options
1 parent 6f9011f commit 2ea6ee8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/Filters/CalendarFilter.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@ enum CalendarFilter {
257257
add(CalendarFilter.IgnoreIds(uuids: opts.ignoreCalendarIds))
258258
}
259259

260+
if !opts.selectCalendarLabels.isEmpty {
261+
add(CalendarFilter.SelectLabels(labels: opts.selectCalendarLabels))
262+
}
263+
264+
if !opts.ignoreCalendarLabels.isEmpty {
265+
add(CalendarFilter.IgnoreLabels(labels: opts.ignoreCalendarLabels))
266+
}
260267
if !opts.selectCalendarSources.isEmpty {
261268
add(CalendarFilter.SelectSources(sources: opts.selectCalendarSources))
262269
}

0 commit comments

Comments
 (0)