From 10f166a7c5452a80cc00c686fc18c6b003a515cc Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 2 Feb 2021 21:29:03 -0600 Subject: tweak options --- src/slskd/Options.cs | 360 --------------------------------------------------- src/slskd/slskd.yml | 6 +- 2 files changed, 3 insertions(+), 363 deletions(-) delete mode 100644 src/slskd/Options.cs (limited to 'src') diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs deleted file mode 100644 index a966f3dc..00000000 --- a/src/slskd/Options.cs +++ /dev/null @@ -1,360 +0,0 @@ -namespace slskd -{ - using Soulseek.Diagnostics; - using System; - using System.Collections.Generic; - using System.Diagnostics; - - public record Option(char ShortName, string LongName, string EnvironmentVariable, string Key, Type Type, object Default = null, string Description = null) - { - public CommandLineArgument ToCommandLineArgument() - => new (ShortName, LongName, Type, Key, Description); - - public EnvironmentVariable ToEnvironmentVariable() - => new (EnvironmentVariable, Type, Key, Description); - - public DefaultValue ToDefaultValue() - => new (Key, Type, Default); - } - - public class Options - { - public static IEnumerable