mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
15 lines
410 B
C#
15 lines
410 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using Wabbajack.Verbs;
|
|
using Wabbajack.CLI.Builder;
|
|
|
|
namespace Wabbajack;
|
|
|
|
public static class CommandLineBuilderExtensions
|
|
{
|
|
public static void AddCLIVerbs(this IServiceCollection services)
|
|
{
|
|
CommandLineBuilder.RegisterCommand<NexusLogin>(NexusLogin.Definition, c => ((NexusLogin)c).Run);
|
|
services.AddSingleton<NexusLogin>();
|
|
}
|
|
}
|