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.
12 lines
332 B
12 lines
332 B
using Spectre.Console.Cli;
|
|
|
|
namespace Recyclarr.Cli.Console.Interceptors;
|
|
|
|
public class VersionLogInterceptor(ILogger log) : ICommandInterceptor
|
|
{
|
|
public void Intercept(CommandContext context, CommandSettings settings)
|
|
{
|
|
log.Debug("Recyclarr Version: {Version}", GitVersionInformation.InformationalVersion);
|
|
}
|
|
}
|