feat(cli): add coder task resume command (#22066)

Complements https://github.com/coder/coder/pull/22012 by adding a `coder task resume` command
This commit is contained in:
Danielle Maywood
2026-02-17 16:24:13 +00:00
committed by GitHub
parent f8eea54e97
commit d737f8c104
9 changed files with 375 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ SUBCOMMANDS:
list List tasks
logs Show a task's logs
pause Pause a task
resume Resume a task
send Send input to a task
status Show the status of a task.
+28
View File
@@ -0,0 +1,28 @@
coder v0.0.0-devel
USAGE:
coder task resume [flags] <task>
Resume a task
- Resume a task by name:
$ coder task resume my-task
- Resume another user's task:
$ coder task resume alice/my-task
- Resume a task without confirmation:
$ coder task resume my-task --yes
OPTIONS:
--no-wait bool
Return immediately after resuming the task.
-y, --yes bool
Bypass confirmation prompts.
———
Run `coder --help` for a list of global options.