**Repo**: `coder/coder` **Scope**: Add `coder tasks pause` command. **Changes**: - Add `pause` subcommand to task command group in `cli/task.go` - Call pause endpoint, wait for build completion (consistent with `coder stop`) - Show build progress via `cliui.WorkspaceBuild()` - Final message: "The {task} task has been paused." **Files**: - `cli/task.go` - `cli/task_test.go` **Acceptance criteria**: - [ ] `coder tasks pause my-task` pauses the task - [ ] Build progress displayed during pause - [ ] Success message on completion - [ ] Error handling for invalid states (already paused, etc.) - [ ] Help text documents the command **Dependencies**: - #1261 <!-- Issue 10 --> **References**: - [PRD: Start/Pause/Resume the Task Workspace](https://www.notion.so/coderhq/Start-Pause-Resume-the-Task-Workspace-2aad579be59280e5a15ef6bb6a93f246) - [RFC: Tasks: Start/Pause/Resume Lifecycle](https://www.notion.so/coderhq/Tasks-Start-Pause-Resume-Lifecycle-2cdd579be592805a929fc36d0c82d65d): CLI
Activity
feat(cli): add `coder task pause` command