Skip to content

m-ringler/CpmUpdateTool

Repository files navigation

m-ringler.CpmUpdateTool

NuGet

CpmUpdateTool is a small command‑line utility that inspects a .NET folder's Directory.Packages.props file and updates NuGet package versions to the latest available release.

Installation

dotnet tool install m-ringler.CpmUpdateTool

Usage

Run the tool from a directory containing Directory.Packages.props (typically the repo root):

dotnet update-cpm [options]

Options

  • --yes — update all packages without asking
  • --include-prerelease — consider prerelease package versions when checking for updates
  • --help — display help text
  • --version — print version

Example

# interactive check with prompts
cd /my/solution
dotnet update-cpm --include-prerelease

# non-interactive run, accept everything
dotnet update-cpm --yes

License

This project is provided under the MIT License. See LICENSE for details.

About

A tool to update nugets in a Directory.Packages.props file

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages