anki/pylib/tools
Arthur Milchior fcfa78bba3 Hook card_is_being_flushed
It often arrives that I want to know when a card is going to be
flushed and in this case change it.

This could be the case if I want to change the scheduler without
implementing a whole scheduler. It simply reads the card history and
change interval and due date.

It's also the case for the "'trigger -> action' rules", which apply
some coded actions when some event occurs. E.g. suspend/unsuspend a
sibling when card become mature/is forgotten.
2020-02-14 00:59:32 -08:00
..
__init__.py move hook gen code out of anki/ 2020-01-15 09:11:20 +10:00
genhooks.py Hook card_is_being_flushed 2020-02-14 00:59:32 -08:00
hookslib.py remove _hook/_filter suffix 2020-01-15 16:53:24 +10:00