nut task
Manage tasks (change proposals) in your Coconut instance.
task, proposal
Overview
Tasks (also known as change proposals) are the core unit of work in Coconut. They represent features, bugs, refactors, or any change you want to implement in your codebase. Thenut task command provides comprehensive management of tasks throughout their lifecycle.
nut task list
List all tasks in your repository.
--status <status>- Filter by status (draft, backlog, ready, queued, active, blocked, review, done, canceled, duplicate)--search <query>- Search tasks by text--json- Output as JSON
nut task get
Get detailed information about a specific task.
id- The task ID (e.g.,cp-1234567890)
--json- Output as JSON
nut task create
Create a new task.
title- Title or description of the task
--priority <level>- Set priority (low, medium, high, critical)--tags <tags>- Comma-separated tags--status <status>- Initial status (draft, backlog, ready, queued, active, blocked, review, done, canceled, duplicate)
nut task update
Update an existing task’s properties.
id- The task ID to update
-t, -i, --title, --intent <text>- Update title (aliases: -i, —intent)-c, --content <text>- Update content-f, --file <path>- Read new content from a file-s, --status <status>- Update status (draft, backlog, ready, queued, active, blocked, review, done, canceled, duplicate)-p, --priority <level>- Update priority (low, medium, high, critical)--tags <tags>- Update tags (comma-separated)--spec <ref>- Update product specification reference--json- Output as JSON
nut task step
Add a plan step to a task.
id- The task IDdescription- Description of the step
--command <cmd>- Optional command to execute for this step
Plan steps help break down complex tasks into manageable pieces and provide structure for implementation.
nut task comment
Add a comment to a task.
id- The task IDcontent- Comment text
--author <email>- Comment author (defaults to current user)
nut task delete
Delete a task.
id- The task ID to delete
Deleting a task is permanent. Make sure you want to remove it before confirming.
Complete Workflow Example
Here’s a complete workflow using task commands:Finding Task IDs
If you need to find a task ID:- Use
nut task listto see all tasks - Use
nut task list --search "keyword"to search - Task IDs follow the format
cp-XXXXXXXXXX