|
2 | 2 |
|
3 | 3 | The \.NET Core CLI offers a cross\-platform way for you to create \.NET\-based Lambda applications\. This section assumes that you have installed the \.NET Core CLI\. If you haven't, see [Download \.NET](https://dotnet.microsoft.com/download) on the Microsoft website\.
|
4 | 4 |
|
5 |
| -In the \.NET CLI, you use the `new` command to create \.NET projects from a command line\. This is useful if you want to create a project outside of Visual Studio\. To view a list of the available project types, open a command line, navigate to where you installed the \.NET Core runtime, and then run the following command: |
| 5 | +In the \.NET CLI, you use the `new` command to create \.NET projects from a command line\. This is useful if you want to create a project outside of Visual Studio\. To view a list of the available templates, open a command line, navigate to where you installed the \.NET Core runtime, and then run the following command: |
6 | 6 |
|
7 | 7 | ```
|
8 |
| -dotnet new -all |
9 |
| -Usage: new [options] |
10 |
| -... |
11 |
| -Templates Short Name Language Tags |
| 8 | +dotnet new -l |
| 9 | +These templates matched your input: |
| 10 | +
|
| 11 | +Template Name Short Name Language Tags |
12 | 12 | ----------------------------------------------------------------------------------------------------------------------------
|
13 | 13 | Console Application console [C#], F#, VB Common/Console
|
14 | 14 | Class library classlib [C#], F#, VB Common/Library
|
15 | 15 | Unit Test Project mstest [C#], F#, VB Test/MSTest
|
16 | 16 | xUnit Test Project xunit [C#], F#, VB Test/xUnit
|
17 | 17 | ...
|
18 |
| -Examples: |
19 |
| - dotnet new mvc --auth Individual |
20 |
| - dotnet new viewstart |
21 |
| - dotnet new --help |
22 | 18 | ```
|
23 | 19 |
|
24 | 20 | Lambda offers additional templates via the [Amazon\.Lambda\.Templates](https://www.nuget.org/packages/Amazon.Lambda.Templates) NuGet package\. To install this package, run the following command:
|
@@ -189,4 +185,4 @@ Log Tail:
|
189 | 185 | START RequestId: id Version: $LATEST
|
190 | 186 | END RequestId: id
|
191 | 187 | REPORT RequestId: id Duration: 0.99 ms Billed Duration: 1 ms Memory Size: 256 MB Max Memory Used: 12 MB
|
192 |
| -``` |
| 188 | +``` |
0 commit comments