summaryrefslogtreecommitdiff
path: root/lib/intentions-queue
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intentions-queue')
-rwxr-xr-xlib/intentions-queue8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/intentions-queue b/lib/intentions-queue
index 5d9e977..f7c9a4f 100755
--- a/lib/intentions-queue
+++ b/lib/intentions-queue
@@ -101,3 +101,11 @@ intentions_left() {
| sort -n \
| grep -qxm1 '[0-9]\+'
}
+
+# execute_all_intentions
+# executes all intentions
+execute_all_intentions() {
+ while intentions_left; do
+ execute_intention
+ done
+}