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

Skip to content

Commit 1b6d0c3

Browse files
mtojekmafredri
andauthored
docs: Rephrase Templates section (#5062)
* docs: Rephrase Templates section * Update docs/templates.md Co-authored-by: Mathias Fredriksson <[email protected]> * Update docs/templates.md Co-authored-by: Mathias Fredriksson <[email protected]> * Update docs/templates.md Co-authored-by: Mathias Fredriksson <[email protected]> * Update docs/templates.md Co-authored-by: Mathias Fredriksson <[email protected]> Co-authored-by: Mathias Fredriksson <[email protected]>
1 parent e72927f commit 1b6d0c3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

docs/templates.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,20 +225,27 @@ 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 tape archive (`.tar`) to your current directory:
232240

233241
```sh
234-
coder templates pull <template-name> file.tar.gz
242+
coder templates pull <template-name> file.tar
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, extract it by running:
239246

240247
```sh
241-
tar -xf file.tar.gz
248+
tar -xf file.tar
242249
```
243250

244251
Make the changes to your template then run this command from the root of the template folder:

0 commit comments

Comments
 (0)