Skip to content

Commit

Permalink
Fix --partition and --filter options not working due to assembly …
Browse files Browse the repository at this point in the history
…trimming (#1240)
  • Loading branch information
Tyrrrz committed May 26, 2024
1 parent 3b3423d commit 949abc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DiscordChatExporter.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
using CliFx;
using DiscordChatExporter.Cli.Commands;
using DiscordChatExporter.Cli.Commands.Converters;
using DiscordChatExporter.Core.Exporting.Filtering;
using DiscordChatExporter.Core.Exporting.Partitioning;

namespace DiscordChatExporter.Cli;

Expand All @@ -22,6 +24,8 @@ public static class Program
typeof(ThreadInclusionModeBindingConverter)
)]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(TruthyBooleanBindingConverter))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(PartitionLimit))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(MessageFilter))]
public static async Task<int> Main(string[] args) =>
await new CliApplicationBuilder()
.AddCommand<ExportAllCommand>()
Expand Down

0 comments on commit 949abc2

Please sign in to comment.