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

Commit1b6d0c3

Browse files
mtojekmafredri
andauthored
docs: Rephrase Templates section (#5062)
* docs: Rephrase Templates section* Update docs/templates.mdCo-authored-by: Mathias Fredriksson <mafredri@gmail.com>* Update docs/templates.mdCo-authored-by: Mathias Fredriksson <mafredri@gmail.com>* Update docs/templates.mdCo-authored-by: Mathias Fredriksson <mafredri@gmail.com>* Update docs/templates.mdCo-authored-by: Mathias Fredriksson <mafredri@gmail.com>Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
1 parente72927f commit1b6d0c3

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 candelete a template using the coder CLI. Only
228+
You canedit 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)

[8]ページ先頭

©2009-2025 Movatter.jp