Skip to content

ecoAPM/dotnet-libyear

Repository files navigation

dotnet-libyear

A simple measure of dependency freshness

NuGet version CI Coverage

Maintainability Rating Reliability Rating Security Rating

Requirements

  • .NET 8 SDK

Installation

dotnet tool install -g libyear

Usage

dotnet libyear [args] [{csproj}|{dir}]

  • Zero or more directories or csproj files may be passed
  • If no arguments are passed, the current directory is searched
  • If no csproj is found in a directory, subdirectories are searched

Arguments:

-h, --help: display this help message

-q, --quiet: only show outdated packages

-u, --update: update project files after displaying packages

-r, --recursive: search recursively for all compatible files, even if one is found in a directory passed as an argument

Limits:

-l, --limit: exits with error code if total libyears behind is greater than this value

-p, --limit-project: exits with error code if any project is more libyears behind than this value

-a, --limit-any: exits with error code if any dependency is more libyears behind than this value