File tree 1 file changed +13
-6
lines changed
1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -225,20 +225,27 @@ resource "kubernetes_pod" "podName" {
225
225
226
226
### Edit templates
227
227
228
- You can delete a template using the coder CLI. Only
228
+ You can edit a template using the coder CLI. Only
229
229
[ template admins and owners] ( ./admin/users.md ) can edit a template.
230
230
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:
232
240
233
241
``` sh
234
- coder templates pull < template-name> file.tar.gz
242
+ coder templates pull < template-name> file.tar
235
243
```
236
244
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:
239
246
240
247
``` sh
241
- tar -xf file.tar.gz
248
+ tar -xf file.tar
242
249
```
243
250
244
251
Make the changes to your template then run this command from the root of the template folder:
You can’t perform that action at this time.
0 commit comments