mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-21 13:37:54 +00:00
Stop redundantly downloading media when re-exporting (#395)
This commit is contained in:
@@ -29,6 +29,9 @@ namespace DiscordChatExporter.Cli.Commands.Base
|
||||
[CommandOption("media", Description = "Download referenced media content.")]
|
||||
public bool ShouldDownloadMedia { get; set; }
|
||||
|
||||
[CommandOption("reuse-media", Description = "If the media folder already exists, reuse media inside it to skip downloads.")]
|
||||
public bool ShouldReuseMedia { get; set; }
|
||||
|
||||
[CommandOption("dateformat", Description = "Date format used in output.")]
|
||||
public string DateFormat { get; set; } = "dd-MMM-yy hh:mm tt";
|
||||
|
||||
@@ -48,6 +51,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
|
||||
Before,
|
||||
PartitionLimit,
|
||||
ShouldDownloadMedia,
|
||||
ShouldReuseMedia,
|
||||
DateFormat
|
||||
);
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
|
||||
Before,
|
||||
PartitionLimit,
|
||||
ShouldDownloadMedia,
|
||||
ShouldReuseMedia,
|
||||
DateFormat
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user