Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 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 (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T19:35:03.000Z (20 days ago)
- Last Synced: 2025-01-14T05:07:51.444Z (17 days ago)
- Topics: dependency, dependency-management, dotnet, hacktoberfest, libyear, nuget
- Language: C#
- Homepage: https://libyear.com
- Size: 219 KB
- Stars: 43
- 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
[![NuGet version](https://img.shields.io/nuget/v/LibYear?logo=nuget&label=Install)](https://nuget.org/packages/LibYear)
[![CI](https://github.com/ecoAPM/dotnet-libyear/actions/workflows/CI.yml/badge.svg)](https://github.com/ecoAPM/dotnet-libyear/actions/workflows/CI.yml)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=ecoAPM_dotnet-libyear&metric=coverage)](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ecoAPM_dotnet-libyear&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ecoAPM_dotnet-libyear&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ecoAPM_dotnet-libyear)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ecoAPM_dotnet-libyear&metric=security_rating)](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