Files
coder/cli/testdata/coder_schedule_extend_--help.golden
Danielle Maywood 91875c2b47 fix: allow users to extend their running workspace's deadline (#15895)
Fixes https://github.com/coder/coder/issues/15515

This change effectively reverts the changes introduced by
https://github.com/coder/coder/pull/13182 (for
https://github.com/coder/coder/issues/13078).

We also rename the `override-stop` command name to `extend` to match the
API endpoint's name (keeping an alias to allow `override-stop` to be used).
2024-12-18 10:58:33 +00:00

18 lines
481 B
Plaintext

coder v0.0.0-devel
USAGE:
coder schedule extend <workspace-name> <duration from now>
Extend the stop time of a currently running workspace instance.
Aliases: override-stop
* The new stop time is calculated from *now*.
* The new stop time must be at least 30 minutes in the future.
* The workspace template may restrict the maximum workspace runtime.
$ coder schedule extend my-workspace 90m
———
Run `coder --help` for a list of global options.