Re-implement changes in the previous commit

This commit is contained in:
Tyrrrz
2023-03-23 13:23:32 +02:00
parent 20e782e6ed
commit 2e1636e6c9
2 changed files with 30 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ using System.Threading.Tasks;
using CliFx.Attributes;
using CliFx.Exceptions;
using CliFx.Infrastructure;
using DiscordChatExporter.Cli.Commands.Converters;
using DiscordChatExporter.Cli.Utils.Extensions;
using DiscordChatExporter.Core.Discord;
using DiscordChatExporter.Core.Discord.Data;
@@ -120,7 +121,9 @@ public abstract class ExportCommandBase : DiscordCommandBase
[CommandOption(
"fuck-russia",
Description = "Don't print the Support Ukraine message to the console."
EnvironmentVariable = "FUCK_RUSSIA",
Description = "Don't print the Support Ukraine message to the console.",
Converter = typeof(TruthyBooleanBindingConverter)
)]
public bool IsUkraineSupportMessageDisabled { get; init; }