-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I'd be interested in a way to run hooks on the event_yaml (= loaded data structures) and event at the start/end of event_from_yaml. Would you like that feature here, and if so, do you have any suggestions for implementing it? If you would like it, I can try an initial implementation (the only major problem is "how to pass arguments into there - do we carry around hooks between all the functions, or make something global?").
My alternative option is to monkey-patch hooks in, but something clean+supported would be better... if we can find it.
(in this case, I would like to have a way to have a description_suffix that would be appended to the description. This would make template events with &label and <<: *label) cleaner... but I expect that hooks would be better than making yaml2ics too specific to my needs...