Duotify.Templates.DotNetNew 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install Duotify.Templates.DotNetNew::1.3.0
This package contains a .NET Template Package you can call from the shell/command line.

本套件為「多奇教育訓練」製作的各式 .NET CLI 的專案範本(Project Templates)與項目範本(Item Templates)。

安裝範本

dotnet new -i Duotify.Templates.DotNetNew

更新範本

dotnet new -i Duotify.Templates.DotNetNew

移除範本

dotnet new -u Duotify.Templates.DotNetNew

專案範本 (Project Templates)

  • 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)

  • .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.7.2 4,075 10/24/2023
1.7.1 242 10/24/2023
1.7.0 231 10/24/2023
1.6.0 431 5/18/2023
1.5.2 515 7/29/2022
1.5.1 394 7/29/2022
1.5.0 419 7/29/2022
1.4.1 1,575 7/22/2021
1.4.0 403 7/18/2021
1.3.0 600 7/8/2021
1.2.1 1,136 11/3/2020
1.2.0 524 11/2/2020
1.1.0 519 10/31/2020
1.0.0 397 10/30/2020

- Add `antlr` project template
 - Support for .NET 6 Console App
 - Use [System.CommandLine.DragonFruit](System.CommandLine.DragonFruit) for CLI arguments parsing.