@krodak/clickup-cli 1.44.0 → 1.45.1
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/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -0
- package/dist/chunk-OPPKVJ6P.js +349 -0
- package/dist/index.js +1299 -76
- package/dist/writer-UZHLSQMW.js +19 -0
- package/package.json +1 -1
- package/skills/clickup-cli/SKILL.md +20 -2
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
backfillAttachments,
|
|
4
|
+
readBundleData,
|
|
5
|
+
renderBundleMarkdown,
|
|
6
|
+
safeAttachmentFilename,
|
|
7
|
+
taskDir,
|
|
8
|
+
writeBundleData,
|
|
9
|
+
writeTaskBundle
|
|
10
|
+
} from "./chunk-OPPKVJ6P.js";
|
|
11
|
+
export {
|
|
12
|
+
backfillAttachments,
|
|
13
|
+
readBundleData,
|
|
14
|
+
renderBundleMarkdown,
|
|
15
|
+
safeAttachmentFilename,
|
|
16
|
+
taskDir,
|
|
17
|
+
writeBundleData,
|
|
18
|
+
writeTaskBundle
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@ name: clickup
|
|
|
3
3
|
description: 'Use when managing ClickUp tasks, sprints, or comments via the `cup` CLI tool. Triggers: task queries, status updates, sprint tracking, creating subtasks, posting comments, threaded replies, 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, task links, time tracking, attachments, file uploads, listing members, listing fields, duplicating tasks, bulk operations, goals, key results, saved filters, favorites.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# ClickUp CLI (`cup`) - skill version 1.
|
|
6
|
+
# ClickUp CLI (`cup`) - skill version 1.45.1
|
|
7
7
|
|
|
8
8
|
Reference for AI agents using the `cup` CLI tool. Covers task management, sprint tracking, comments, time tracking, custom fields, goals, docs, and project workflows.
|
|
9
9
|
|
|
10
|
-
> **Version check:** Run `cup --version`. If your installed version is older than 1.
|
|
10
|
+
> **Version check:** Run `cup --version`. If your installed version is older than 1.45.1, update with `npm install -g @krodak/clickup-cli` and refresh this skill with `cup skill`.
|
|
11
11
|
|
|
12
12
|
## Install & Configure
|
|
13
13
|
|
|
@@ -158,6 +158,7 @@ All commands support `--help` for full flag details. All commands support `--jso
|
|
|
158
158
|
| `cup chat followers <channelId>` | List channel followers |
|
|
159
159
|
| `cup chat replies <messageId>` | List message replies |
|
|
160
160
|
| `cup chat reactions <messageId>` | List reactions on a message |
|
|
161
|
+
| `cup export user\|team\|roadmap\|initiatives\|docs\|all ... [--out dir] [--dry-run] [--item-id n] [--yes]` | Export tasks/docs to a local archive (lossless JSON + markdown). See Export below |
|
|
161
162
|
|
|
162
163
|
### Write
|
|
163
164
|
|
|
@@ -427,6 +428,23 @@ cup doc-page-create <docId> "Section" --parent-page <pageId>
|
|
|
427
428
|
cup doc-page-edit <docId> <pageId> -c "# Updated"
|
|
428
429
|
```
|
|
429
430
|
|
|
431
|
+
### Export (knowledge transfer / off-boarding)
|
|
432
|
+
|
|
433
|
+
Every task stored once (`tasks/<id>/task.json` + `task.md` + comments + attachments); each scope adds an index. Slices compose into one `--out` dir; shared tasks are fetched once. Re-runs skip what is already there.
|
|
434
|
+
|
|
435
|
+
```bash
|
|
436
|
+
cup export user me --out ./archive # my tasks, incl. closed + archived
|
|
437
|
+
cup export team "Kayenta" --out ./archive # every list in a space
|
|
438
|
+
cup export roadmap <listId> --item-id 1004 --out ./archive # initiatives grouped with subtask trees
|
|
439
|
+
cup export docs --out ./archive # every doc as markdown page trees
|
|
440
|
+
cup export all --dry-run # plan: counts, estimated time
|
|
441
|
+
cup export all --yes --out ./archive # whole workspace (long-running; confirms)
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
- `--item-id` is the initiative `custom_item_id` (team convention; `cup task-types` lists them).
|
|
445
|
+
- `all` refuses to run non-interactively without `--yes`; always `--dry-run` first to see the estimate.
|
|
446
|
+
- Whiteboards, dashboards, automations have no API: export those from the UI by hand.
|
|
447
|
+
|
|
430
448
|
### Workspace structure
|
|
431
449
|
|
|
432
450
|
```bash
|