feat(cli): add coder task pause command (#22012)

Adds a new `coder task pause`
This commit is contained in:
Danielle Maywood
2026-02-13 14:21:31 +00:00
committed by GitHub
parent 01f06671a1
commit 6d41d98b65
11 changed files with 339 additions and 27 deletions
+36
View File
@@ -0,0 +1,36 @@
<!-- DO NOT EDIT | GENERATED CONTENT -->
# task pause
Pause a task
## Usage
```console
coder task pause [flags] <task>
```
## Description
```console
- Pause a task by name:
$ coder task pause my-task
- Pause another user's task:
$ coder task pause alice/my-task
- Pause a task without confirmation:
$ coder task pause my-task --yes
```
## Options
### -y, --yes
| | |
|------|-------------------|
| Type | <code>bool</code> |
Bypass confirmation prompts.