Figure out some way of handling CloseNotification. Probably the easiest way to do this is by a switch that would allow a pattern to be sent in and then format them just the same way as normal notifications. However it would be nice if e.g. a user had specified a format for filenames that was the id of the notification that CloseNotification would be able to delete such files. Maybe a --delete flag which takes a format? Of course this should probably be guarded by keeping track of created files and then ensuring that we can't delete a file we haven't created ourselves.
Not sure how much data a CloseNotification carries, might be a lot of empty fields in the format string, but that should be fine.
Figure out some way of handling CloseNotification. Probably the easiest way to do this is by a switch that would allow a pattern to be sent in and then format them just the same way as normal notifications. However it would be nice if e.g. a user had specified a format for filenames that was the id of the notification that CloseNotification would be able to delete such files. Maybe a
--delete
flag which takes a format? Of course this should probably be guarded by keeping track of created files and then ensuring that we can't delete a file we haven't created ourselves.Not sure how much data a CloseNotification carries, might be a lot of empty fields in the format string, but that should be fine.