aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index e23fd640..bc6f14a6 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -500,6 +500,14 @@ namespace slskd
[NotNullOrWhiteSpace]
[Secret]
public string Secret { get; init; }
+
+ /// <summary>
+ /// Gets a value indicating whether to receive completed downloads from the controller.
+ /// </summary>
+ [Argument(default, "controller-downloads")]
+ [EnvironmentVariable("CONTROLLER_DOWNLOADS")]
+ [Description("receive completed downloads from the controller")]
+ public bool Downloads { get; init; } = false;
}
/// <summary>