diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-12-30 16:19:28 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-12-30 16:19:28 -0600 |
| commit | 3f6f13bb99deac7c0b5a5b5ddb43cea91fa40e13 (patch) | |
| tree | 7155c2f7e4b856dc2c83689553866831a49a98d1 /src | |
| parent | 49bc255026aa5ef2c4df0727134b7627808270fc (diff) | |
| download | slskd-3f6f13bb99deac7c0b5a5b5ddb43cea91fa40e13.tar.gz | |
add controller 'downloads' option and docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
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> |
