about summary refs log tree commit diff stats
path: root/templates/shell/src/main.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:31:08 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 00:00:03 +0200
commit76932b24718c6b4c0d7bdffe8f776a6105ea3745 (patch)
treefa53fd6cc1a5a0be43693de2da69f1c0aebfd223 /templates/shell/src/main.sh
parentrefactor(shell): Move to the new `templates` directory (diff)
downloadflake-templates-76932b24718c6b4c0d7bdffe8f776a6105ea3745.tar.gz
flake-templates-76932b24718c6b4c0d7bdffe8f776a6105ea3745.zip
feat(shell): Update to my new SOTA
Diffstat (limited to '')
-rwxr-xr-xtemplates/shell/src/main.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/shell/src/main.sh b/templates/shell/src/main.sh
new file mode 100755
index 0000000..4c4c836
--- /dev/null
+++ b/templates/shell/src/main.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env dash
+
+# shellcheck source=/dev/null
+SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
+
+# Both are used in `version`
+# shellcheck disable=2034
+AUTHORS="Benedikt Peetz"
+# shellcheck disable=2034
+YEARS="2024"
+
+printf "Hello World!\n\n"
+
+# Show off the library provided version function
+version
+
+# vim: ft=sh