Files
coder/docs/cli/schedule_show.md
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

1.4 KiB
Generated

schedule show

Show workspace schedules

Usage

coder schedule show [flags] <workspace | --search <query> | --all>

Description

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

Type bool

Specifies whether all workspaces will be listed or not.

-c, --column

Type 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

Type string
Default table

Output format. Available formats: table, json.

Type string
Default owner:me

Search for a workspace with a query.