reminders-cli icon indicating copy to clipboard operation
reminders-cli copied to clipboard

URL Support?

Open jhoek opened this issue 1 year ago • 4 comments

Judging from #30 and #59 (both closed), it would appear that URLs should be supported in the JSON that reminders-cli exports. However, so far I haven't been successful in exporting the URLs of my reminders. Am I doing something wrong? If not, would you please consider adding the URL field to the JSON output?

Many thanks in advance for considering my suggestion.

jhoek avatar Nov 22 '24 18:11 jhoek

for some reason url specifically always returns nothing, we already try to add it to the json https://github.com/keith/reminders-cli/blob/1adaee7aa0d3197534eeeb205933451332300b13/Sources/RemindersLibrary/EKReminder%2BEncodable.swift#L30-L31

I think we'd have to search for some private api to make this work (I tried URL and URLString and both return nil)

keith avatar Nov 22 '24 22:11 keith

FWIW I use the private REMReminder class in another private project and it works fine for this kinda thing. They have a separate attachments list which can return multiple URLs, which is I assume why this single URL property returns nothing

keith avatar Nov 22 '24 22:11 keith

Hmmm, that's strange. Please let me know if there's something I can do. Sadly, I have no experience in Swift whatsoever.

jhoek avatar Nov 24 '24 09:11 jhoek