Karls.Templates
1.4.19
dotnet new install Karls.Templates::1.4.19
Karls Opinionated Templates
This repository contains a collection of templates for the dotnet new command based on my own preferences.
This might not be overly useful for you, but it was a fun experiment and this repo at least shows of some of the features available when creating your own templates.
Installing
Just run the following command to install the templates.
dotnet new install Karls.Templates
If you have them installed and need to update them you can run the above command again.
Or simply this to update all template packages (which is often a good idea).
dotnet new update
Templates
Opinionated Solution
This template creates a solution with a single Core project (+tests) and some default settings based on my own preferences.
dotnet new karls-solution -n Company.CoolProject
Since version 1.4.0 a flag can be passed to also generate a frontend
project based on Vite and other tools. To have this just pass
--addFrontendProject
when creating the project.
dotnet new karls-solution -n CoolProject --addFrontendProject
The project per default includes a set of Github Actions workflows.
If another CI tool is to be used these can be skipped by setting
includeGithubActions
to false
. This will still add a depenadbot
configuration though since I host all my projects on Github.
dotnet new karls-solution -n CoolProject --includeGithubActions=false
To see available options, run this.
dotnet new karls-solution --help
References
Includes an adapted version of https://github.com/hrvey/combine-prs-workflow/
-
.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.4.19 | 69 | 11/15/2024 |
1.4.17 | 91 | 10/14/2024 |
1.4.16 | 93 | 9/23/2024 |
1.4.15 | 103 | 9/17/2024 |
1.4.14 | 105 | 9/4/2024 |
1.4.13 | 109 | 8/26/2024 |
1.4.12 | 135 | 7/17/2024 |
1.4.11 | 112 | 7/8/2024 |
1.4.10 | 107 | 7/1/2024 |
1.4.9 | 130 | 6/19/2024 |
1.4.8 | 106 | 6/18/2024 |
1.4.7 | 135 | 6/8/2024 |
1.4.6 | 179 | 4/30/2024 |
1.4.5 | 100 | 4/22/2024 |
1.4.4 | 111 | 4/22/2024 |
1.4.3 | 117 | 4/17/2024 |
1.4.2 | 167 | 4/16/2024 |
1.4.1 | 181 | 4/12/2024 |
1.4.0 | 214 | 4/4/2024 |
1.3.3 | 1,935 | 1/12/2024 |
1.3.0 | 1,041 | 12/10/2023 |
1.2.0 | 304 | 12/5/2023 |
1.1.7 | 407 | 8/30/2023 |
1.1.6 | 295 | 8/14/2023 |
1.1.5 | 194 | 7/11/2023 |
1.1.4 | 201 | 5/14/2023 |
1.1.2 | 367 | 3/2/2023 |
1.1.1 | 315 | 1/21/2023 |
1.1.0 | 277 | 12/31/2022 |
1.0.0 | 258 | 12/28/2022 |