Stop redundantly downloading media when re-exporting (#395)

This commit is contained in:
Andrew Kolos
2020-10-23 09:38:15 -04:00
committed by GitHub
parent 949c9d3f1e
commit 520e023aff
9 changed files with 70 additions and 8 deletions

View File

@@ -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
);

View File

@@ -48,6 +48,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
Before,
PartitionLimit,
ShouldDownloadMedia,
ShouldReuseMedia,
DateFormat
);