You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
719 B
24 lines
719 B
using Recyclarr.TrashGuide;
|
|
using Recyclarr.TrashGuide.QualitySize;
|
|
using Spectre.Console;
|
|
|
|
namespace Recyclarr.Cli.Pipelines.QualitySize;
|
|
|
|
public class QualitySizeDataLister(
|
|
IAnsiConsole console,
|
|
IQualitySizeGuideService guide)
|
|
{
|
|
public void ListQualities(SupportedServices serviceType)
|
|
{
|
|
console.WriteLine("\nList of Quality Definition types in the TRaSH Guides:\n");
|
|
|
|
guide.GetQualitySizeData(serviceType)
|
|
.Select(x => x.Type)
|
|
.ForEach(x => console.WriteLine($" - {x}"));
|
|
|
|
console.WriteLine(
|
|
"\nThe above quality definition types can be used with the `quality_definition:` property in your " +
|
|
"recyclarr.yml file.");
|
|
}
|
|
}
|