From f3638ecbddbee7bd959bd8b00413517741719eee Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 15:10:46 +0000 Subject: [PATCH] Add stub 'list' command that errors with help text when executed Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/b148b0cc-7ec8-4fa1-bbd6-36dfd116ceec Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> --- DiscordChatExporter.Cli/Commands/ListCommand.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 DiscordChatExporter.Cli/Commands/ListCommand.cs diff --git a/DiscordChatExporter.Cli/Commands/ListCommand.cs b/DiscordChatExporter.Cli/Commands/ListCommand.cs new file mode 100644 index 00000000..3d8e154e --- /dev/null +++ b/DiscordChatExporter.Cli/Commands/ListCommand.cs @@ -0,0 +1,16 @@ +using System.Threading.Tasks; +using CliFx; +using CliFx.Binding; +using CliFx.Infrastructure; + +namespace DiscordChatExporter.Cli.Commands; + +[Command("list", Description = "Lists channels, DMs, or servers.")] +public partial class ListCommand : ICommand +{ + public ValueTask ExecuteAsync(IConsole console) => + throw new CommandException( + "A subcommand is required ('channels', 'channels dm', or 'guilds').", + showHelp: true + ); +}