#!/bin/bash # {{ ansible_managed }} SLUG="$1" FROM_STATUS="$2" TO_STATUS="$3" cd {{ emacsconf_private_dir }} git pull emacsclient -a emacs --eval "(emacsconf-with-todo-hooks (emacsconf-update-talk-status \"$SLUG\" \"$FROM_STATUS\" \"$TO_STATUS\"))" git commit -m "Update task status for $SLUG from $FROM_STATUS to $TO_STATUS" conf.org git push