GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

Add TaskWarrior().purge_task() - Permanently remove Task instances #130

Open mpenning opened 8 months ago

mpenning commented 8 months ago

This PR adds purge_task() which is a missing part of the official TaskWarrior API.

I templated this off the delete_task() method and added a force purge before delete in case the user forgets.