From 71dc0c0128adfdc644665a9686a2ca1153cdd832 Mon Sep 17 00:00:00 2001 From: Bence Ferdinandy Date: Thu, 19 Sep 2024 15:59:24 +0200 Subject: commands: add an echo command Currently if you want to explore what templates resolve to, it's a bit of pain. Add an echo command that doesn't do anything, other than prints the string that is its argument with the templates resolved. Implements: https://todo.sr.ht/~rjarry/aerc/277 Changelog-added: New `:echo` command that prints its arguments with templates resolved. Signed-off-by: Bence Ferdinandy Reviewed-by: Tristan Partin Acked-by: Robin Jarry --- doc/aerc.1.scd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 9d1d3302..b9c5af65 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -158,6 +158,9 @@ These commands work in any context. Note: commands executed in this way are not executed with the shell. +*:echo* __ + Resolve templates in __ and print it. + *:eml* [__]++ *:preview* [__] Opens an eml file and displays the message in the message viewer. -- cgit