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 + ); +}