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
For official templates, you will usually be able to pull them from the store, instead of having to remember various URLs. You'll find out more about the store on this page.
38
+
39
+
The `template pull` command uses your local Git client, so if you have proper authentication set up with a Git credential helper, then you'll also be able to run it against private repositories.
40
+
41
+
For GitHub specifically, we recommend:
42
+
43
+
```ini
44
+
[url "ssh://git@github.com/"]
45
+
insteadOf = https://github.com/
46
+
47
+
[credential "https://github.com"]
48
+
helper =
49
+
helper = !/usr/local/bin/gh auth git-credential
50
+
```
51
+
31
52
This page shows how to generate functions in the most popular languages and explains how you can manage their dependencies too.
32
53
33
54
### Classic vs. of-watchdog templates
@@ -77,7 +98,22 @@ Languages available as templates:
77
98
- python3-http
78
99
```
79
100
80
-
You can add your own store just by specifying the `--url` flag for both commands to pull and list your custom templates store.
101
+
You can create your own template store by following the convention found in the official templates store repository, then provide the `--url` flag when pulling or listing templates. If you're using GitHub, you'll need to reference the *raw* file rather than the view in a webbrowser.
0 commit comments