NugetToolHelper

simplifies using tools in other nuget packages


Keywords
nuget, package, tools, helper
Install
Install-Package NugetToolHelper -Version 1.0.2

Documentation

NugetToolHelper

Simplifies using tools in other nuget packages.

This package adds a powershell script to projects that can be used to find and invoke tools in other nuget packages.

Usage

.\NugetTool.ps1 run <packageName> <toolName> <parameters>
  • packageName the name of the nuget package (folder inside /packages)
  • toolName the name (without extension) of a .exe or .ps file inside the package /tools, if it matchs the package name you can use _
  • parameters all remaining command line parameters will be forwared to the invoked tool

Here's an example invoking CFT

.\NugetTool.ps1 run cft _ /configurationFile=environment_name.tmp /configurationEnv=ENVIRONMENT_NAME /configurationDefault=Local