X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/ade25ab6ef26a73da25b3be09658ea39875dd6f3..57e5c12f9f47639ab48bb53103aaf831b675c53b:/tasklib/task.py?ds=inline diff --git a/tasklib/task.py b/tasklib/task.py index 5a223e2..a3f1487 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -279,3 +279,9 @@ class TaskWarrior(object): self.execute_command(args, config_override={ 'merge.autopush': 'yes' if push else 'no', }) + + def undo(self): + args = ['undo'] + self.execute_command(args, config_override={ + 'confirmation': 'no', + })