Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.04 KB

File metadata and controls

42 lines (27 loc) · 1.04 KB

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.