You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding documentation to describe the template store
command which is a feature in the cli version 0.8.1
along with adding description with the two existing
constant which set the default locations for the
template store and the default template URL from which
you pull the templates
Signed-off-by: Martin Dekov (VMware) <[email protected]>
#### 8.4 Download templates from the template store
334
+
335
+
> Note: In order to access the template store you need `0.8.1` version of the CLI or higher
336
+
337
+
Check what templates are available in the template store with the CLI by typing:
338
+
339
+
```bash
340
+
faas-cli template store list
341
+
```
342
+
343
+
Pull the desired template by specifying `NAME` attribute only:
344
+
345
+
```bash
346
+
faas-cli template store pull go
347
+
```
348
+
349
+
or pull the template by mixing the `REPOSITORY` and `NAME` attributes the following way:
350
+
351
+
```bash
352
+
faas-cli template store pull openfaas/go
353
+
```
354
+
355
+
To get more information on specific store use the `describe` verb like:
356
+
357
+
```bash
358
+
faas-cli template store describe openfaas/go
359
+
```
360
+
361
+
or if there is no collision between names use only the name field:
362
+
363
+
```bash
364
+
faas-cli template store describe go
365
+
```
366
+
367
+
If you have your own store with templates, you can set that as your default official store by setting the environmental variable `OPENFAAS_TEMPLATE_STORE_URL` the following way:
0 commit comments