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
* feat: add kebab-case options to cli flags - first example
* feat: remove option_deprecation functions and just leave old options
* docs: update docs
* fix: add --http-proxy-certificate-filename and hide --httpProxyCertificateFilename
* fix: add --prod-if-unlocked and hide --prodIfUnlocked for deploy
* fix: add --git-remote-name and hide --gitRemoteName for init and link
* fix: add --replace-existing and hide --replaceExisting from env-import
* fix: add --target-port and hide --targetPort for dev
* fix: add --session-id and hide --sessionId for dev
* fix: add --functions-port and hide --functionsPort for dev and serve
* fix: add --edge-inspect-brk and hide --edgeInspectBrk from dev
* fix: add --edge-inspect and hide --edgeInspect to dev
Copy file name to clipboardExpand all lines: docs/commands/deploy.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -93,14 +93,14 @@ netlify deploy
93
93
-`message` (*string*) - A short message to include in the deploy log
94
94
-`open` (*boolean*) - Open site after deploy
95
95
-`prod` (*boolean*) - Deploy to production
96
-
-`prodIfUnlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
96
+
-`prod-if-unlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
97
97
-`site` (*string*) - A site name or ID to deploy to
98
98
-`skip-functions-cache` (*boolean*) - Ignore any functions created as part of a previous `build` or `deploy` commands, forcing them to be bundled again as part of the deployment
99
99
-`timeout` (*string*) - Timeout to wait for deployment to finish
100
-
-`trigger` (*boolean*) - Trigger a new build of your site on Netlify without uploading local files
101
100
-`debug` (*boolean*) - Print debugging information
102
-
-`httpProxy` (*string*) - Proxy server address to route requests through.
103
-
-`httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server
101
+
-`http-proxy` (*string*) - Proxy server address to route requests through.
102
+
-`http-proxy-certificate-filename` (*string*) - Certificate file to use when connecting using a proxy server
103
+
-`trigger` (*boolean*) - Trigger a new build of your site on Netlify without uploading local files
104
104
105
105
**Examples**
106
106
@@ -109,7 +109,7 @@ netlify deploy
109
109
netlify deploy --site my-first-site
110
110
netlify deploy --prod
111
111
netlify deploy --prod --open
112
-
netlify deploy --prodIfUnlocked
112
+
netlify deploy --prod-if-unlocked
113
113
netlify deploy --message "A message with an $ENV_VAR"
Copy file name to clipboardExpand all lines: docs/commands/dev.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -21,20 +21,20 @@ netlify dev
21
21
-`context` (*string*) - Specify a deploy context or branch for environment variables (contexts: "production", "deploy-preview", "branch-deploy", "dev")
22
22
-`country` (*string*) - Two-letter country code (https://ntl.fyi/country-codes) to use as mock geolocation (enables --geo=mock automatically)
23
23
-`dir` (*string*) - dir with static files
24
-
-`edgeInspect` (*string*) - enable the V8 Inspector Protocol for Edge Functions, with an optional address in the host:port format
25
-
-`edgeInspectBrk` (*string*) - enable the V8 Inspector Protocol for Edge Functions and pause execution on the first line of code, with an optional address in the host:port format
24
+
-`edge-inspect` (*string*) - enable the V8 Inspector Protocol for Edge Functions, with an optional address in the host:port format
25
+
-`edge-inspect-brk` (*string*) - enable the V8 Inspector Protocol for Edge Functions and pause execution on the first line of code, with an optional address in the host:port format
26
26
-`framework` (*string*) - framework to use. Defaults to #auto which automatically detects a framework
27
27
-`functions` (*string*) - specify a functions folder to serve
28
-
-`functionsPort` (*string*) - port of functions server
28
+
-`functions-port` (*string*) - port of functions server
29
29
-`geo` (*cache | mock | update*) - force geolocation data to be updated, use cached data from the last 24h if found, or use a mock location
30
30
-`live` (*boolean*) - start a public live session
31
31
-`offline` (*boolean*) - disables any features that require network access
32
32
-`port` (*string*) - port of netlify dev
33
-
-`sessionId` (*string*) - (Graph) connect to cloud session with ID [sessionId]
34
-
-`targetPort` (*string*) - port of target app server
33
+
-`session-id` (*string*) - (Graph) connect to cloud session with ID [sessionId]
34
+
-`target-port` (*string*) - port of target app server
35
35
-`debug` (*boolean*) - Print debugging information
36
-
-`httpProxy` (*string*) - Proxy server address to route requests through.
37
-
-`httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server
36
+
-`http-proxy` (*string*) - Proxy server address to route requests through.
37
+
-`http-proxy-certificate-filename` (*string*) - Certificate file to use when connecting using a proxy server
38
38
39
39
| Subcommand | description |
40
40
|:--------------------------- |:-----|
@@ -46,13 +46,13 @@ netlify dev
46
46
```bash
47
47
netlify dev
48
48
netlify dev -d public
49
-
netlify dev -c "hugo server -w" --targetPort 1313
49
+
netlify dev -c "hugo server -w" --target-port 1313
50
50
netlify dev --context production
51
51
netlify dev --graph
52
-
netlify dev --edgeInspect
53
-
netlify dev --edgeInspect=127.0.0.1:9229
54
-
netlify dev --edgeInspectBrk
55
-
netlify dev --edgeInspectBrk=127.0.0.1:9229
52
+
netlify dev --edge-inspect
53
+
netlify dev --edge-inspect=127.0.0.1:9229
54
+
netlify dev --edge-inspect-brk
55
+
netlify dev --edge-inspect-brk=127.0.0.1:9229
56
56
BROWSER=none netlify dev # disable browser auto opening
57
57
```
58
58
@@ -76,8 +76,8 @@ netlify dev:exec
76
76
77
77
-`context` (*string*) - Specify a deploy context or branch for environment variables (contexts: "production", "deploy-preview", "branch-deploy", "dev")
78
78
-`debug` (*boolean*) - Print debugging information
79
-
-`httpProxy` (*string*) - Proxy server address to route requests through.
80
-
-`httpProxyCertificateFilename` (*string*) - Certificate file to use when connecting using a proxy server
79
+
-`http-proxy` (*string*) - Proxy server address to route requests through.
80
+
-`http-proxy-certificate-filename` (*string*) - Certificate file to use when connecting using a proxy server
0 commit comments