dotnet-libyear
dotnet-libyear copied to clipboard
A simple measure of dependency freshness
trafficstars
dotnet-libyear
A simple measure of dependency freshness
Requirements
- .NET 8 SDK
Installation
dotnet tool install -g libyear
Usage
dotnet libyear [args] [{csproj}|{dir}]
- Zero or more directories or
csprojfiles may be passed - If no arguments are passed, the current directory is searched
- If no
csprojis 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