https://github.com/ecoapm/dotnet-libyear
A simple measure of dependency freshness
https://github.com/ecoapm/dotnet-libyear
dependency dependency-management dotnet hacktoberfest libyear nuget
Last synced: 28 days ago
JSON representation
A simple measure of dependency freshness
- Host: GitHub
- URL: https://github.com/ecoapm/dotnet-libyear
- Owner: ecoAPM
- License: mit
- Created: 2017-03-08T16:13:55.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T13:53:57.000Z (4 months ago)
- Last Synced: 2025-03-28T15:07:47.507Z (about 1 month ago)
- Topics: dependency, dependency-management, dotnet, hacktoberfest, libyear, nuget
- Language: C#
- Homepage: https://libyear.com
- Size: 215 KB
- Stars: 44
- Watchers: 2
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# dotnet-libyear
A simple measure of dependency freshness
[](https://nuget.org/packages/LibYear)
[](https://github.com/ecoAPM/dotnet-libyear/actions/workflows/CI.yml)
[](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)[](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)
[](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)
[](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)## Requirements
- .NET 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