Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 979a380

Browse files
committed
docs: Rephrase Templates section
1 parent cbb1e91 commit 979a380

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/templates.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,24 @@ resource "kubernetes_pod" "podName" {
225225

226226
### Edit templates
227227

228-
You can delete a template using the coder CLI. Only
228+
You can edit a template using the coder CLI. Only
229229
[template admins and owners](./admin/users.md) can edit a template.
230230

231-
Using the CLI, login to Coder and run the following command to delete a template:
231+
Using the CLI, login to Coder and run the following command to edit a single template:
232+
233+
```sh
234+
coder templates edit <template-name> --description "This is my template"
235+
```
236+
237+
Review editable template properties by running `coder templates edit -h`.
238+
239+
Alternatively, you can pull down the template as a compressed file (`.tar.gz`) to your current directory:
232240

233241
```sh
234242
coder templates pull <template-name> file.tar.gz
235243
```
236244

237-
This will pull down the template as a gzipped file to your current directory. Then unzip
238-
it by running:
245+
Then, unzip it by running:
239246

240247
```sh
241248
tar -xf file.tar.gz

0 commit comments

Comments
 (0)