diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-06-26 07:51:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-26 07:51:53 -0500 |
| commit | 4a494dfa5783d250c41ca3662898594c8dd8f013 (patch) | |
| tree | cbfb520591b8e9fce535d93088c9f0990ab6ad84 /src/slskd/Core | |
| parent | 674003a0c9cf48a20ef47de429b78b44098747ea (diff) | |
| parent | 197865c54b2eb50c43d71b89f4587955969a0924 (diff) | |
| download | slskd-4a494dfa5783d250c41ca3662898594c8dd8f013.tar.gz | |
Merge pull request #924 from slskd/downloaded-files
Add API endpoints for listing and deleting downloaded and incomplete files
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/Options.cs | 9 |
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")] |
