v0.5.0
New
phq tasks results <id>: shows a task's Results grid, the same data as the web Results page. There's one row per organization (keyed bytask_completion_id) and one column per custom field, with the field id in[brackets].--jsonreturns the raw{columns, data}.phq tasks results-update <id>: fills in Results grid cells. Use repeatable--set <task_completion_id>:<field_id>=<value>, or--data '{"changes":[...]}'|@file.json. All changes in one call apply together or not at all.- Checkbox cells take
true/false, and checkbox groups take a comma-separated list. - Unknown or read-only columns are rejected before anything is sent.
- Checkbox cells take
phq resources results/results-update: the same commands for resources.
Editing needs the host permission "This host can make updates via the task results view", which the project owner sets on the individual. Without it, results still works and shows field columns as read-only.
No existing commands or flags changed.
Upgrading
cd partnerhq-cli && git pull && npm install && npm run build
phq --version # 0.5.0Requires the matching API (partnerhq/partnerhq#748), which is deployed.