From bbd2ddd1db17975f7d49b4f1d7e87404503e451d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 18 Aug 2022 22:32:36 -0500 Subject: add experimental mode flag --- src/slskd/Core/Options.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index a1db929a..3ce620c1 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -135,6 +135,15 @@ namespace slskd [RequiresRestart] public bool Debug { get; init; } = Debugger.IsAttached; + /// + /// Gets a value indicating whether the application should run in experimental mode. + /// + [Argument(default, "experimental")] + [EnvironmentVariable("EXPERIMENTAL")] + [Description("run in experimental mode")] + [RequiresRestart] + public bool Experimental { get; init; } = false; + /// /// Gets a value indicating whether remote configuration of options is allowed. /// -- cgit v1.2.3