- Notifications
You must be signed in to change notification settings - Fork926
Labels
Description
Coder allows promoting a version to active from the Dashboard and also through API but this functionality is missing from the CLI,
coder templates versions
do not expose a command to achieve that.
coder templates versions list kasmvnc-desktop
NAME CREATED AT CREATED BY STATUS ACTIVEamazing_hermann5 2024-10-04T11:56:34Z matifali Failedbold_colden0 2024-10-04T13:16:39Z matifali Succeededdazzling_germain1 2024-10-04T13:02:40Z matifali Succeededdistracted_yonath9 2024-10-04T13:28:19Z matifali Succeededelegant_archimedes9 2024-10-04T11:02:17Z matifali Succeededfervent_khayyam4 2024-10-04T12:00:07Z matifali Succeededhardcore_merkle3 2024-10-04T11:53:59Z matifali Failedkind_goldstine6 2024-10-04T11:52:43Z matifali Failednice_wozniak0 2024-10-04T11:06:50Z matifali Succeededromantic_merkle9 2024-10-04T14:16:13Z matifali Succeeded Activesleepy_robinson1 2024-10-04T11:56:06Z matifali Failedtender_ritchie1 2024-10-04T11:58:26Z matifali Succeeded
coder templates versions
gives,
coder v2.16.0+683a720USAGE: coder templates versions Manage different versions of the specified template Aliases: version - List versions of a specific template: $ coder templates versions list my-templateSUBCOMMANDS: archive Archive a template version(s). list List all the versions of the specified template unarchive Unarchive a template version(s).———Run `coder --help` for a list of global options.
Suggestion
Add a promote sub-command likecoder templates versions promote -t=<TEMPLATE_NAME> --tempplate-version=<TEMPLATE_VERSION_NAME>
Here<TEMPLATE_NAME>
is the name of the template and<TEMPLATE_VERSION_NAME>
is the name of the template version.