mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add coder task pause command (#22012)
Adds a new `coder task pause`
This commit is contained in:
Generated
+36
@@ -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.
|
||||
Reference in New Issue
Block a user