From 931b97caabeeb69ee6c33946389ab3020fad68d7 Mon Sep 17 00:00:00 2001 From: Susana Ferreira Date: Thu, 24 Jul 2025 16:44:36 +0100 Subject: [PATCH 1/4] feat(cli): add CLI support for listing presets (#18910) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This PR introduces a new `list presets` command to display the presets associated with a given template. By default, it displays the presets for the template's active version, unless a `--template-version` flag is provided. ## Changes * Added a new `list presets` command under `coder templates presets` to display presets associated with a template. * By default, the command lists presets from the template’s active version. * Users can override the default behavior by providing the `--template-version` flag to target a specific version. ``` > coder templates versions presets list --help USAGE: coder templates presets list [flags]