You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--custom-item-id <id>`| no | Custom task type ID (for creating initiatives) |
262
262
|`--json`| no | Force JSON output even in terminal |
263
263
264
+
### `cu delete <id>`
265
+
266
+
Delete a task. **DESTRUCTIVE - cannot be undone.**
267
+
268
+
```bash
269
+
cu delete abc123
270
+
cu delete abc123 --confirm
271
+
cu delete abc123 --confirm --json
272
+
```
273
+
274
+
In TTY mode without `--confirm`: shows the task name and prompts for confirmation (default: No). In non-interactive/piped mode, `--confirm` is required.
|`--set "Field Name" <val>`| Set a custom field by name. Supports: text, number, checkbox (true/false), dropdown (option name), date (YYYY-MM-DD), url, email |
301
+
|`--remove "Field Name"`| Remove a custom field value |
302
+
|`--json`| Force JSON output |
303
+
304
+
Both `--set` and `--remove` can be used together in one invocation.
305
+
264
306
### `cu comment <id>`
265
307
266
308
Post a comment on a task.
@@ -423,6 +465,24 @@ cu move abc123 --to <listId> --json
423
465
|`--remove <listId>`| Remove task from this list |
424
466
|`--json`| Force JSON output |
425
467
468
+
### `cu tag <id>`
469
+
470
+
Add or remove tags on a task. Both `--add` and `--remove` can be used together.
cu depend task3 --on task2 # task3 waits for task2
138
145
cu depend task1 --blocks task2 # task1 blocks task2
139
146
cu move task1 --to list2 --remove list1 # move between lists
147
+
cu field abc123def --set "Story Points" 5
148
+
cu field abc123def --set "Category""Bug Fix"
149
+
cu field abc123def --remove "Old Field"
150
+
cu tag abc123def --add "bug,frontend"
151
+
cu tag abc123def --remove "triage"
152
+
cu delete abc123def --confirm # irreversible!
140
153
```
141
154
142
155
### Discover workspace structure
@@ -155,3 +168,7 @@ cu auth # verify token works
155
168
cu summary # completed / in progress / overdue
156
169
cu summary --hours 48 # wider window
157
170
```
171
+
172
+
## DELETE SAFETY
173
+
174
+
IMPORTANT: Always confirm with the user before running `cu delete`. This is a destructive, irreversible operation. Even when using `--confirm` flag, verify the task ID is correct with the user first.
0 commit comments