feat!: add builtin templates

WIP: document, check for breaking changes, decide on version, etc.
This commit is contained in:
2024-06-04 12:06:12 +02:00
parent 5b85f094de
commit 12ba1d3326
7 changed files with 228 additions and 42 deletions

6
templates/default Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -eu
type agenda >/dev/null
# Capitalize the title.
echo "$AGENDA_NAME $AGENDA_DATE" | awk '{print toupper(substr($0,0,1))tolower(substr($0,2))}'