-
Notifications
You must be signed in to change notification settings - Fork 29
dedicated update or edit command that accepts a card ID #110
Description
Hi there,
Firstly, thank you for your open source work—I’ve been using apy on and off for the past year and really appreciate it
One area where I think there’s room for improvement is in seamlessly editing Anki cards. While the review command exists, it requires navigating through an interactive interface (and pressing “e” to edit) even when I simply want to fix a typo or adjust my math typesetting. A more direct command, for example:
apy edit cid:1740342619916
would allow for immediate editing of a specific card by its ID. This not only streamlines the workflow but also opens up opportunities for automation, making it easier to keep my Obsidian vault and Anki in sync without manual intervention (since i am not sure how you and others use your markdown files from apy add-from-file, for me i use it as the ground truth).
And in that case, for new and edited cards, i see utility in there being a
apy update-from-file <file>
function that would allow for new and edited cards (with cid for edited) to handle both.
I’ve encountered situations where I had to switch to the Anki GUI just to correct small errors, and this direct editing approach would solve that inconvenience. I do have limited time to contribute, but I’m open to helping out if there’s interest in developing this feature.
Thanks again