#!/bin/bash echo "" echo "" echo "x-terminal-emulator -e todoman new $id" echo "" echo "" tasks=$(todoman --porcelain | jq ".[]" -c) while read -r task; do summary=$(echo $task | jq ".summary" -r) description=$(echo $task | jq ".description" -r) id=$(echo $task | jq ".id" -r) echo "" echo "" echo "" echo "" echo "x-terminal-emulator -e todoman edit $id" echo "" echo "" echo "todoman done $id" echo "" echo "" done <<< $tasks echo ""