Plot HomeDocumentation

Batch

Run several CLI operations from one JSON payload.

Batch commands are useful when you want multiple dependent reads or writes in one call. plot batch reads a JSON array from stdin and executes entries sequentially.

plot batch

Use plot batch when you want a small sequence of operations to run together, such as updating a task and then listing the next few tasks.

cat <<'JSON' | plot batch
[
  {
    "command": "task",
    "action": "update",
    "args": {
      "id": "ENG-042",
      "status": "In Progress"
    }
  },
  {
    "command": "task",
    "action": "list",
    "args": {
      "team": "ENG",
      "limit": 5
    }
  }
]
JSON

Supported batch keys include task.create, task.update, task.delete, task.get, task.list, and project.update.

On this page