refactor: Rename placement argument for service

json-serializing-nullable-fields-issue
Robert Dailey 9 months ago
parent c713b99747
commit 3ac1de9c94

@ -0,0 +1,6 @@
namespace Recyclarr.Cli.Console.Commands;
public class DeleteCustomFormatsCommand
{
}

@ -22,8 +22,8 @@ internal class ListCustomFormatsCommand : AsyncCommand<ListCustomFormatsCommand.
[SuppressMessage("Design", "CA1034:Nested types should not be visible")]
public class CliSettings : BaseCommandSettings
{
[CommandArgument(0, "<service>")]
[EnumDescription<SupportedServices>("The service to obtain information about.")]
[CommandArgument(0, "<service_type>")]
[EnumDescription<SupportedServices>("The service type to obtain information about.")]
[UsedImplicitly(ImplicitUseKindFlags.Assign)]
public SupportedServices Service { get; init; }
}

@ -21,8 +21,8 @@ internal class ListQualitiesCommand : AsyncCommand<ListQualitiesCommand.CliSetti
[SuppressMessage("Design", "CA1034:Nested types should not be visible")]
public class CliSettings : BaseCommandSettings
{
[CommandArgument(0, "<service>")]
[EnumDescription<SupportedServices>("The service to obtain information about.")]
[CommandArgument(0, "<service_type>")]
[EnumDescription<SupportedServices>("The service type to obtain information about.")]
[UsedImplicitly(ImplicitUseKindFlags.Assign)]
public SupportedServices Service { get; init; }
}

Loading…
Cancel
Save