Btd6ModHelper.Tools 1.0.0

dotnet tool install --global Btd6ModHelper.Tools --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Btd6ModHelper.Tools --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Btd6ModHelper.Tools&version=1.0.0
                    
nuke :add-package Btd6ModHelper.Tools --version 1.0.0
                    

Btd6ModHelper.Tools

Git hook support for BTD6 Mod Helper projects.

Optional installation

dotnet tool install --global Btd6ModHelper.Tools

Mod Helper's source generators create a managed post-commit hook for Git projects and also create a pre-commit hook when the project has a CHANGELOG.md. They use the installed command when available, otherwise .NET 10 downloads and runs the pinned package version with dotnet tool exec. Installing globally avoids that resolution overhead but is not required. The fallback requires .NET 10 and access to a NuGet source containing the package.

Commands

btd6mh pre-commit
btd6mh post-commit

pre-commit compares the staged ModHelperData.cs, .json, or .txt with HEAD. If its semantic version increased, it rotates ## [Unreleased] to a dated section, updates Keep a Changelog comparison links, stages the changelog, and allows the commit to continue. Repositories without a changelog are left unchanged.

post-commit compares the completed commit with its parent and creates an annotated local version tag when ModHelperData.Version increased. Existing tags are never moved. Push a generated tag explicitly with git push origin TAG.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 124 8/10/2026