Duotify.Templates.DotNetNew
1.5.1
See the version list below for details.
dotnet new install Duotify.Templates.DotNetNew::1.5.1
本專案為「多奇教育訓練」製作的 dotnet new
範本專案,用於建立多個不同的專案範本(Project Templates)與項目範本(Item Templates)。
安裝範本
dotnet new -i Duotify.Templates.DotNetNew
更新範本
dotnet new -i Duotify.Templates.DotNetNew
移除範本
dotnet new -u Duotify.Templates.DotNetNew
專案範本 (Project Templates)
jconsole
說明
提供一個包含 Java 基礎專案的專案範本。
用法
dotnet new jconsole -c "YOUR-NAME" -n "your-app-name"
範例 1
dotnet new jconsole -c "Will 保哥" -n "CheckClassPath" cd CheckClassPath java CheckClassPath.java
tsnode
說明
提供一個包含 Node.js + TypeScript + Nodemon + ts-node + VSCode 完整開發環境的專案範本。
用法
dotnet new tsnode -c "YOUR-NAME" -n "your-app-name"
範例 1
dotnet new tsnode -c "Will 保哥" -n "myweb" cd myweb npm install
範例 2
mkdir myweb && cd myweb dotnet new tsnode -c "Will 保哥" npm install
antlr
說明
提供一個包含 ANTLR 完整範例的 .NET 6 Console 專案範本。
用法
dotnet new antlr -c "YOUR-NAME" -n "YOUR-APP-NAME"
範例
dotnet new antlr -c "Will 保哥" -n "PowerBuilder"
go
說明
提供一個最輕量的 Go CLI 專案範本,只有基本的
main.go
並使用到flag
套件。用法
dotnet new go -c "YOUR-NAME" -g "YOUR-GitHub-ID" -n "YOUR-APP-NAME"
範例
dotnet new go -c "Will 保哥" -g "doggy8088" -n myapp
gobasic
說明
依據 Standard Go Project Layout 提供一個稍微基礎的 Go 專案範本。
用法
dotnet new gobasic -c "YOUR-NAME" -g "YOUR-GitHub-ID" -n "YOUR-APP-NAME"
範例
dotnet new gobasic -c "Will 保哥" -g "doggy8088" -n myapp
gofull
說明
依據 Standard Go Project Layout 提供一個相當完整的 Go 專案範本。
用法
dotnet new gofull -c "YOUR-NAME" -g "YOUR-GitHub-ID" -n "YOUR-APP-NAME"
範例
dotnet new gofull -c "Will 保哥" -g "doggy8088" -n myapp
golib
說明
依據 Standard Go Project Layout 提供一個可成為共用函式庫的 Go 專案範本。
用法
dotnet new golib -c "YOUR-NAME" -g "YOUR-GitHub-ID" -n "YOUR-APP-NAME"
範例
dotnet new golib -c "Will 保哥" -g "doggy8088" -n myapp
gogin
說明
提供一個包含 Gin Web Framework 完整範例的 Go 專案範本。
用法
dotnet new gogin -c "YOUR-NAME" -g "YOUR-GitHub-ID" -n "YOUR-APP-NAME"
範例
dotnet new gogin -c "Will 保哥" -g "doggy8088" -n myapp
項目範本 (Item Templates)
editorconfig
說明
提供 C# 專案預設的
.editorconfig
檔案,其內容參考自 .NET code style rule options 官網文件提供的範例。若要參考 Roslyn 專案的
.editorconfig
檔案,可以看這裡:https://github.com/dotnet/roslyn/blob/master/.editorconfig用法
dotnet new editorconfig
範例
dotnet new editorconfig
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.8.0 | 112 | 12/14/2024 |
1.7.2 | 4,318 | 10/24/2023 |
1.7.1 | 294 | 10/24/2023 |
1.7.0 | 285 | 10/24/2023 |
1.6.0 | 462 | 5/18/2023 |
1.5.2 | 556 | 7/29/2022 |
1.5.1 | 430 | 7/29/2022 |
1.5.0 | 456 | 7/29/2022 |
1.4.1 | 1,610 | 7/22/2021 |
1.4.0 | 446 | 7/18/2021 |
1.3.0 | 618 | 7/8/2021 |
1.2.1 | 1,172 | 11/3/2020 |
1.2.0 | 561 | 11/2/2020 |
1.1.0 | 553 | 10/31/2020 |
1.0.0 | 431 | 10/30/2020 |
Add `jconsole` project template