Template mechanism by default #8

Open
opened 2025-10-19 14:17:50 +02:00 by yestax · 0 comments
Owner

The template mechanism is quite handy since it provides a way to write plain text and get instantly messages shown in the motd.

This is not how motd works since it can also execute functions for more complicated outputs.

For this helper command, make the plain text mechanism (with template) the default behaviour (invert -t option for add) since it covers basic usage.
Maybe with a config option make the add command to make the use of a template by default.
Adding execuatable file should still be possible (No template usage)

The template mechanism is quite handy since it provides a way to write plain text and get instantly messages shown in the motd. This is not how motd works since it can also execute functions for more complicated outputs. For this helper command, make the plain text mechanism (with template) the default behaviour (invert -t option for add) since it covers basic usage. Maybe with a config option make the add command to make the use of a template by default. Adding execuatable file should still be possible (No template usage)
yestax self-assigned this 2025-10-19 14:17:50 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: yestax/update-motd#8
No description provided.