The template short name is mini-scaffold.
The configuration in Content/.template.config/template.json defines the template parameters.
--githubUsernameThis parameter replaces MyGithubUsername with a GitHub username or organization name.
Generated repository URLs and package metadata use this value.
The parameter has no default value.
Example:
|
--outputTypeThis choice parameter selects the generated content.
The default value is library.
Value |
Generated content |
|---|---|
|
A complete library solution. |
|
A complete console solution. |
|
One library project for an existing solution. |
|
One console project for an existing solution. |
|
One test project for an existing solution. |
Example:
|
--releaseBranchThis parameter replaces MyReleaseBranch with the release branch name.
The default value is main.
Generated build scripts, badges, documentation links, and workflows use this value.
The parameter does not change Git branches or GitHub repository settings.
Example:
|
dotnet new optionsThe --name option, or -n, specifies the generated name that replaces MyLib.1.
The --output option, or -o, specifies the output directory.
Without --output, MiniScaffold uses a directory with the generated name.