taskwarrior

This commit is contained in:
2026-02-17 12:49:49 +01:00
parent 3be3ff22d9
commit 2f47700b62
4 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
read -r json
project=$(echo "$json" | jq -r '.project // empty')
[[ -n "$project" ]] && parent=$(echo "$project" | cut -d. -f1 || echo "$project") || parent=""
echo "$json" | jq -c --arg p "$parent" '.parentName = $p'