diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-08-18 22:32:36 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-08-18 22:32:36 -0500 |
| commit | bbd2ddd1db17975f7d49b4f1d7e87404503e451d (patch) | |
| tree | 91b8867c87553b7bd502117b8e0adae4d3953dad /src | |
| parent | dc0741f85f2d66576eeb4cff7b0d6534572c8934 (diff) | |
| download | slskd-bbd2ddd1db17975f7d49b4f1d7e87404503e451d.tar.gz | |
add experimental mode flag
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -136,6 +136,15 @@ namespace slskd public bool Debug { get; init; } = Debugger.IsAttached; /// <summary> + /// Gets a value indicating whether the application should run in experimental mode. + /// </summary> + [Argument(default, "experimental")] + [EnvironmentVariable("EXPERIMENTAL")] + [Description("run in experimental mode")] + [RequiresRestart] + public bool Experimental { get; init; } = false; + + /// <summary> /// Gets a value indicating whether remote configuration of options is allowed. /// </summary> [Argument(default, "remote-configuration")] |
