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
{{ message }}
This repository was archived by the owner on Sep 12, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,23 @@ netlify plugins:link .
29
29
30
30
Now you're both ready to start testing netlify dev and to contribute to the project.
31
31
32
-
## Functionality
32
+
## Functionality Notes
33
33
34
-
-`netlify dev` now supports both `_redirects` and `netlify.toml` for redirects and has the same logic around loading order as our system (_redirects, toml in public folder, toml in base)
35
-
-`netlify dev` can be configured for projects we don’t detect out of the box with a `[dev]` block in the toml file
34
+
-`netlify dev` now supports both `_redirects` and `netlify.toml` for redirects and has the same logic around loading order as our system (\_redirects, toml in public folder, toml in base)
35
+
-`netlify dev` can be configured for projects we don’t detect out of the box with a `[dev]` block in the toml file
36
+
37
+
## `netlify functions:create`
38
+
39
+
Create a new function from a given template.
40
+
41
+
Examples:
42
+
43
+
```
44
+
netlify functions:create
45
+
netlify functions:create hello-world
46
+
netlify functions:create --name hello-world
47
+
netlify functions:create hello-world --dir
48
+
49
+
```
50
+
51
+
You can just call `netlify functions:create` and the prompts will guide you all the way, however you can also supply a first argument to name the function. By default it creates a single file, however you can also use a `--dir` flag to create a function as a directory.
0 commit comments