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
|**`--csx`**| (Version 2.x) Generates the same C# script (.csx) templates used in version 1.x and in the portal. |
292
-
|**`--language-l`**| The template programming language, such as C#, F#, or JavaScript. This option is required in version 1.x. In version 2.x, do not use this option or choose a language that matches the worker runtime. |
293
-
|**`--name-n`**| The functionname.|
294
-
|**`--template-t`**| Use the `func templates list`command to see the complete list of available templates for each supported language. |
292
+
|**`--language`**, **`-l`**| The template programming language, such as C#, F#, or JavaScript. This option is required in version 1.x. In version 2.x, do not use this option or choose a language that matches the worker runtime. |
293
+
|**`--name`**, **`-n`**| The functionname.|
294
+
|**`--template`**, **`-t`**| Use the `func templates list`command to see the complete list of available templates for each supported language. |
295
295
296
296
For example, to create a JavaScript HTTP trigger in a single command, run:
297
297
@@ -348,13 +348,13 @@ func host start
348
348
|**`--cert`**| The path to a .pfx file that contains a private key. Only used with `--useHttps`. Version 2.x only. |
349
349
|**`--cors-credentials`**| Allow cross-origin authenticated requests (i.e. cookies and the Authentication header) Version 2.x only. |
350
350
|**`--cors`**| A comma-separated list of CORS origins, with no spaces. |
351
-
|**`--language-worker`**|Argument to configure the language worker. For example, you may enable debugging for language worker by providing [debug port and other required arguments](https://github.com/Azure/azure-functions-core-tools/wiki/Enable-Debugging-for-language-workers). Version 2.x only. |
352
-
|**`--nodeDebugPort-n`**| The port for the Node.js debugger to use. Default: A value from launch.json or 5858. Version 1.x only. |
351
+
|**`--language-worker`**|Arguments to configure the language worker. For example, you may enable debugging for language worker by providing [debug port and other required arguments](https://github.com/Azure/azure-functions-core-tools/wiki/Enable-Debugging-for-language-workers). Version 2.x only. |
352
+
|**`--nodeDebugPort`**, **`-n`**| The port for the Node.js debugger to use. Default: A value from launch.json or 5858. Version 1.x only. |
353
353
|**`--password`**| Either the password or a file that contains the password for a .pfx file. Only used with `--cert`. Version 2.x only. |
354
-
|**`--port-p`**| The local port to listen on. Default value: 7071. |
354
+
|**`--port`**, **`-p`**| The local port to listen on. Default value: 7071. |
355
355
|**`--pause-on-error`**| Pause for additional input before exiting the process. Used only when launching Core Tools from an integrated development environment (IDE).|
356
-
|**`--script-root--prefix`**| Used to specify the path to the root of the functionapp that is to be run or deployed. This is used forcompiled projects that generate project files into a subfolder. For example, when you build a C# class library project, the host.json, local.settings.json, and function.json files are generatedin a *root* subfolder with a path like `MyProject/bin/Debug/netstandard2.0`. In this case, set the prefix as `--script-root MyProject/bin/Debug/netstandard2.0`. This is the root of the functionapp when running in Azure. |
357
-
|**`--timeout-t`**| The timeout forthe Functions host to start,in seconds. Default: 20 seconds.|
356
+
|**`--script-root`**, **`--prefix`**| Used to specify the path to the root of the functionapp that is to be run or deployed. This is used forcompiled projects that generate project files into a subfolder. For example, when you build a C# class library project, the host.json, local.settings.json, and function.json files are generatedin a *root* subfolder with a path like `MyProject/bin/Debug/netstandard2.0`. In this case, set the prefix as `--script-root MyProject/bin/Debug/netstandard2.0`. This is the root of the functionapp when running in Azure. |
357
+
|**`--timeout`**, **`-t`**| The timeout forthe Functions host to start,in seconds. Default: 20 seconds.|
358
358
|**`--useHttps`**| Bind to `https://localhost:{port}` rather than to `http://localhost:{port}`. By default, this option creates a trusted certificate on your computer.|
359
359
360
360
When the Functions host starts, it outputs the URL of HTTP-triggered functions:
@@ -434,10 +434,10 @@ You can also invoke a function directly by using `func run <FunctionName>` and p
0 commit comments