diff --git a/DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs b/DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs index abdde1e..bf259c3 100644 --- a/DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs +++ b/DiscordChatExporter.Cli/Commands/Base/DiscordCommandBase.cs @@ -48,6 +48,17 @@ public abstract class DiscordCommandBase : ICommand } #pragma warning restore CS0618 + // Note about interactivity + if (console.IsOutputRedirected) + { + console + .Output + .WriteLine( + "Note: Output streams are redirected, rich console interactions are disabled. " + + "If you are running this command in Docker, consider allocating a pseudo-terminal for better user experience (docker run -it ...)." + ); + } + return default; } }