Skip to content

cli: collect all schedule-related commands under coder schedule #2258

Closed
@johnstcn

Description

@johnstcn

A lot of schedule-related commands have grown organically around the root command:

  • coder autostart {set,unset} <workspace>
  • coder ttl {set,unset} <workspace>
  • coder bump <workspace>

For discoverability, collect these all under one single coder schedule command:

  • coder autostart set <workspace> <schedule> -> coder schedule start <workspace> <schedule>
  • coder autostart unset <workspace> -> coder schedule start <workspace> manual
  • coder autostart show -> coder schedule show
  • coder ttl set <workspace> <duration> -> coder schedule stop <workspace> <duration>
  • coder ttl unset <workspace> -> coder schedule stop <workspace> manual
  • coder ttl show -> coder schedule show
  • coder bump <workspace> <duration> -> coder schedule override <workspace>

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions