Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow promoting an existing template version to active from CLI #15042

Assignees
joobisb
Labels
cliArea: CLI
@matifali

Description

@matifali

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.

This is related to#14860 and will help solve#9899

Metadata

Metadata

Assignees

Labels

cliArea: CLI

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp