TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/cline/kanban/llms.txt
Use this file to discover all available pages before exploring further.
kanban task command (also aliased as kanban tasks) lets you create, update, list, and manage tasks on the Kanban board without opening the web UI.
All subcommands print JSON to stdout. On error, they print { "ok": false, "error": "..." } and exit with code 1.
Synopsis
Most subcommands require the Kanban server to be running. Start it first with
kanban in a separate terminal.task list
List tasks for a workspace. By default, all columns excepttrash are returned.
Path to the workspace. Defaults to the current working directory.
Filter results to a single column. Accepted values:
backlog, in_progress, review, trash.task create
Create a new task in thebacklog column.
The task prompt text that the agent will work from.
Path to the workspace. Defaults to the current working directory.
The base branch or git ref for the task. Defaults to the workspace’s current branch.
Start the agent in plan mode instead of act mode. Pass
true or false, or use the flag alone to imply true.Enable automatic review behavior when the agent finishes. Pass
true or false, or use the flag alone to imply true.The action to take when auto-review triggers. Accepted values:
commit— commit the agent’s changespr— open a pull requestmove_to_trash— move the task to trash
task update
Update an existing task’s fields. At least one field must be specified.The ID of the task to update.
Replacement prompt text for the task.
Path to the workspace. Defaults to the current working directory.
Replacement base branch or git ref.
Update the plan mode setting. Pass
true, false, or use the flag alone to imply true.Update the auto-review enabled setting.
Update the auto-review mode. Accepted values:
commit, pr, move_to_trash.task start
Start a task session and move the task toin_progress. Creates a git worktree if one does not already exist, then launches the agent.
The ID of the task to start. The task must be in
backlog or in_progress.Path to the workspace. Defaults to the current working directory.
task trash
Move a task (or every task in a column) to trash and clean up its worktree. Stops the active session first. If any linked tasks become unblocked as a result, they are auto-started. Exactly one of--task-id or --column is required.
The ID of a single task to move to trash.
Bulk-trash every task in a column. Accepted values:
backlog, in_progress, review, trash.Path to the workspace. Defaults to the current working directory.
task delete
Permanently delete a task or every task in a column. Unliketask trash, this removes the task immediately with no recovery path.
Exactly one of --task-id or --column is required.
The ID of a single task to permanently delete.
Bulk-delete every task in a column. Accepted values:
backlog, in_progress, review, trash.Path to the workspace. Defaults to the current working directory.
task link
Link two tasks so one waits on the other before it is eligible to start.One of the two task IDs to link.
The other task ID to link.
Path to the workspace. Defaults to the current working directory.
backlog, Kanban preserves the order you pass: --task-id waits on --linked-task-id. Once only one linked task remains in backlog, Kanban reorients the link so the backlog task is the waiting dependent and the other is the prerequisite. When the prerequisite finishes review and moves to trash, the waiting task becomes ready to start.
Example:
task unlink
Remove an existing dependency link between two tasks.The ID of the dependency to remove. You can find dependency IDs in the output of
kanban task list or kanban task link.Path to the workspace. Defaults to the current working directory.
Error output
When a task command fails, it prints a JSON error to stdout and exits with code1: