@krodak/clickup-cli 0.13.2 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +160 -441
- package/dist/index.js +553 -4
- package/package.json +1 -1
- package/skills/clickup-cli/SKILL.md +27 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: clickup
|
|
3
|
-
description: 'Use when managing ClickUp tasks, sprints, or comments via the `cu` CLI tool. Triggers: task queries, status updates, sprint tracking, creating subtasks, posting comments, standup summaries, searching tasks, checking overdue items, assigning tasks, listing spaces and lists, opening tasks in browser, checking auth or config, setting custom fields, deleting tasks, managing tags.'
|
|
3
|
+
description: 'Use when managing ClickUp tasks, sprints, or comments via the `cu` CLI tool. Triggers: task queries, status updates, sprint tracking, creating subtasks, posting comments, standup summaries, searching tasks, checking overdue items, assigning tasks, listing spaces and lists, opening tasks in browser, checking auth or config, setting custom fields, deleting tasks, managing tags, managing checklists, editing comments, time tracking.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# ClickUp CLI (`cu`)
|
|
@@ -60,12 +60,24 @@ All commands support `--help` for full flag details.
|
|
|
60
60
|
| `cu update <id> [-n name] [-d desc] [-s status] [--priority p] [--due-date d] [--time-estimate t] [--assignee id\|me] [--parent id] [--json]` | Update task fields (desc supports markdown) |
|
|
61
61
|
| `cu create -n name [-l listId] [-p parentId] [-d desc] [-s status] [--priority p] [--due-date d] [--time-estimate t] [--assignee id\|me] [--tags t] [--custom-item-id n] [--json]` | Create task (desc supports markdown) |
|
|
62
62
|
| `cu comment <id> -m text [--json]` | Post comment on task |
|
|
63
|
+
| `cu comment-edit <commentId> -m text [--resolved] [--unresolved] [--json]` | Edit an existing comment |
|
|
63
64
|
| `cu assign <id> [--to userId\|me] [--remove userId\|me] [--json]` | Assign/unassign users |
|
|
64
65
|
| `cu depend <id> [--on taskId] [--blocks taskId] [--remove] [--json]` | Add/remove task dependencies |
|
|
65
66
|
| `cu move <id> [--to listId] [--remove listId] [--json]` | Add/remove task from lists |
|
|
66
67
|
| `cu field <id> [--set "Name" value] [--remove "Name"] [--json]` | Set/remove custom field values |
|
|
67
68
|
| `cu delete <id> [--confirm] [--json]` | Delete a task (DESTRUCTIVE, irreversible) |
|
|
68
69
|
| `cu tag <id> [--add tags] [--remove tags] [--json]` | Add/remove tags on a task |
|
|
70
|
+
| `cu checklist view <id> [--json]` | View checklists on a task |
|
|
71
|
+
| `cu checklist create <id> <name> [--json]` | Create a checklist |
|
|
72
|
+
| `cu checklist delete <checklistId> [--json]` | Delete a checklist |
|
|
73
|
+
| `cu checklist add-item <checklistId> <name> [--json]` | Add item to a checklist |
|
|
74
|
+
| `cu checklist edit-item <checklistId> <itemId> [--name n] [--resolved] [--unresolved] [--assignee id] [--json]` | Edit a checklist item |
|
|
75
|
+
| `cu checklist delete-item <checklistId> <itemId> [--json]` | Delete a checklist item |
|
|
76
|
+
| `cu time start <taskId> [-d desc] [--json]` | Start tracking time on a task |
|
|
77
|
+
| `cu time stop [--json]` | Stop the running timer |
|
|
78
|
+
| `cu time status [--json]` | Show currently running timer |
|
|
79
|
+
| `cu time log <taskId> <duration> [-d desc] [--json]` | Log manual time entry (e.g. "2h", "30m") |
|
|
80
|
+
| `cu time list [--days n] [--task id] [--json]` | List recent time entries |
|
|
69
81
|
| `cu config get <key>` / `cu config set <key> <value>` / `cu config path` | Manage CLI config |
|
|
70
82
|
| `cu completion <shell>` | Shell completions (bash/zsh/fish) |
|
|
71
83
|
|
|
@@ -98,7 +110,10 @@ All commands support `--help` for full flag details.
|
|
|
98
110
|
| `cu summary` | Categories: completed (done/complete/closed within N hours), in progress, overdue |
|
|
99
111
|
| `cu overdue` | Excludes closed tasks, sorted most overdue first |
|
|
100
112
|
| `cu open` | Tries task ID first, falls back to name search |
|
|
101
|
-
| `cu
|
|
113
|
+
| `cu checklist` | Full CRUD for task checklists: view, create, delete, add-item, edit-item, delete-item |
|
|
114
|
+
| `cu time` | Track time: start/stop timer, log entries, list history. Duration format: "2h", "30m", "1h30m" |
|
|
115
|
+
| `cu comment-edit` | Edit comment text and resolution status |
|
|
116
|
+
| `cu task` | Shows custom fields and checklists in detail view |
|
|
102
117
|
| `cu lists` | Discovers list IDs needed for `--list` and `cu create -l` |
|
|
103
118
|
| Errors | stderr with exit code 1 |
|
|
104
119
|
| Parsing | Strict - excess/unknown arguments rejected |
|
|
@@ -150,6 +165,16 @@ cu field abc123def --set "Category" "Bug Fix"
|
|
|
150
165
|
cu field abc123def --remove "Old Field"
|
|
151
166
|
cu tag abc123def --add "bug,frontend"
|
|
152
167
|
cu tag abc123def --remove "triage"
|
|
168
|
+
cu checklist view abc123def # view checklists
|
|
169
|
+
cu checklist create abc123def "QA Steps" # add checklist
|
|
170
|
+
cu checklist add-item <clId> "Run unit tests" # add item
|
|
171
|
+
cu checklist edit-item <clId> <itemId> --resolved # check off item
|
|
172
|
+
cu comment-edit <commentId> -m "Updated findings" # edit a comment
|
|
173
|
+
cu time start abc123def -d "Working on feature" # start timer
|
|
174
|
+
cu time status # check running timer
|
|
175
|
+
cu time stop # stop timer
|
|
176
|
+
cu time log abc123def 2h -d "Code review" # log manual entry
|
|
177
|
+
cu time list --days 7 # recent entries
|
|
153
178
|
cu delete abc123def --confirm # irreversible!
|
|
154
179
|
```
|
|
155
180
|
|