Closed whazlewo closed 4 months ago
you should probably rely on this instead https://github.com/keith/reminders-cli/pull/55
Oh!! You can pass the externalId OR the array index as a parameter for completing, editing, and deleting items?? That is very cool.
yep, as of that change that should work for the same reason you're worrying about
I'm thinking about how I could build an Alfred app workflow using your CLI. I love that you have a json format option, but I'm trying to figure out how you do the indexing in the terminal output. Is it safe to assume the ordering of the output is always the same (ie that the first result in the json output is "0")?
is it safe for me to always assume that ...
matches up exactly with the order of the json array when using
--format json
?