aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 1d9f814c..c438c03c 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -31,7 +31,6 @@ namespace slskd
using NetTools;
using slskd.Authentication;
using slskd.Configuration;
- using slskd.Cryptography;
using slskd.Relay;
using slskd.Shares;
using slskd.Validation;
@@ -159,6 +158,14 @@ namespace slskd
public bool RemoteConfiguration { get; init; } = false;
/// <summary>
+ /// Gets a value indicating whether remote file management is allowed.
+ /// </summary>
+ [Argument(default, "remote-file-management")]
+ [EnvironmentVariable("REMOTE_FILE_MANAGEMENT")]
+ [Description("allow remote file management")]
+ public bool RemoteFileManagement { get; init; } = false;
+
+ /// <summary>
/// Gets the unique name for this instance.
/// </summary>
[Argument('i', "instance-name")]