A simple measure of dependency freshness
- .NET SDK
dotnet tool install -g libyear
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
-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
-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