File tree 1 file changed +27
-0
lines changed 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,33 @@ page.
111
111
112
112
### CLI
113
113
114
+ First, ensure you are logged in to the control plane
115
+
116
+ ``` console
117
+ coder login
118
+ ```
119
+
120
+ You can list the available templates with the following CLI invocation.
121
+
122
+ ``` console
123
+ coder templates list
124
+ ```
125
+
126
+ After identified the template you'd like to work from, clone it into a directory
127
+ with a name you'd like to assign to the new modified template.
128
+
129
+ ``` console
130
+ coder templates pull <template-name> ./<new-template-name>
131
+ ```
132
+
133
+ Then, you can make modifications to the existing template in this directory and
134
+ push them to the control plane using the ` -d ` flag to specify the directory.
135
+
136
+ ``` console
137
+
138
+ coder templates push <new-template-name> -d ./<new-template-name>
139
+ ```
140
+
114
141
</div >
115
142
116
143
## From scratch (advanced)
You can’t perform that action at this time.
0 commit comments