Files
coder/cli/testdata/coder_schedule_show_--help.golden
T
Cian Johnston a4f1319108 feat(cli): allow showing schedules for multiple workspaces (#10596)
* coder list: adds information about next start / stop to available columns (not default)
* coder schedule: show now essentially coder list with a different set of columns
* Updates cli schedule unit tests to use new dbfake

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-11-10 13:51:49 +00:00

30 lines
907 B
Plaintext

coder v0.0.0-devel
USAGE:
coder schedule show [flags] <workspace | --search <query> | --all>
Show workspace schedules
Shows the following information for the given workspace(s):
* The automatic start schedule
* The next scheduled start time
* The duration after which it will stop
* The next scheduled stop time
OPTIONS:
-a, --all bool
Specifies whether all workspaces will be listed or not.
-c, --column string-array (default: workspace,starts at,starts next,stops after,stops next)
Columns to display in table output. Available columns: workspace,
starts at, starts next, stops after, stops next.
-o, --output string (default: table)
Output format. Available formats: table, json.
--search string (default: owner:me)
Search for a workspace with a query.
———
Run `coder --help` for a list of global options.