Skip to content

benjamine/NugetToolHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simplifies using tools in other nuget packages

Resources

Stars

Watchers

Forks

Packages

No packages published