From: Rob Golding Date: Sat, 8 Jun 2013 18:43:49 +0000 (+0100) Subject: Add undo command X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/57e5c12f9f47639ab48bb53103aaf831b675c53b?hp=ade25ab6ef26a73da25b3be09658ea39875dd6f3 Add undo command --- 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', + })