mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
dd97fe2bce
This change will improve over CLI performance and "snappiness" as well as substantially reduce our test times. Preliminary benchmarks show `coder server --help` times cut from 300ms to 120ms on my dogfood instance. The inefficiency of lipgloss disproportionately impacts our system, as all help text for every command is generated whenever any command is invoked. The `pretty` API could clean up a lot of the code (e.g., by replacing complex string concatenations with Printf), but this commit is too expansive as is so that work will be done in a follow up.
13 lines
427 B
Plaintext
13 lines
427 B
Plaintext
Usage: coder schedule override-stop <workspace-name> <duration from now>
|
|
|
|
Override the stop time of a currently running workspace instance.
|
|
|
|
* 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 override-stop my-workspace 90m
|
|
|
|
---
|
|
Run `coder --help` for a list of global options.
|