Files
work-queue-api/skill/bin/wq_get
Marcus A. c5be58c3c5
Some checks failed
ci / build-test-push (push) Failing after 29s
feat: add work-queue skill for Marcus and Steve
2026-04-11 14:48:08 -05:00

9 lines
202 B
Bash
Executable File

#!/bin/bash
# wq_get — get single work item
wq_get() {
local work_id="$1"
[[ -z "$work_id" ]] && { echo "Usage: wq get <work_item_id>" >&2; exit 1; }
curl -sf "$API_URL/work/$work_id" | jq .
}