aboutsummaryrefslogtreecommitdiff
path: root/example.txt
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-09-03 16:01:20 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-09-03 16:01:20 +0200
commita21602a450217333a27419d8168865b21fae6e7e (patch)
treebcb454130105de02dd97864dc1c977bf30044c38 /example.txt
parent3b21449468a1b20b3ff706fe00a04556a804e627 (diff)
downloadapkdoc-a21602a450217333a27419d8168865b21fae6e7e.tar.gz
apkdoc-a21602a450217333a27419d8168865b21fae6e7e.tar.bz2
apkdoc-a21602a450217333a27419d8168865b21fae6e7e.zip
feat: Add option for inputing template
Now a template file is required to run the cli command. That gives the user an option to provide its own template file. An default will be provided later.
Diffstat (limited to 'example.txt')
-rw-r--r--example.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/example.txt b/example.txt
new file mode 100644
index 0000000..8c5c0eb
--- /dev/null
+++ b/example.txt
@@ -0,0 +1,8 @@
+# Apks Alpine 3.18
+
+{{ range $e := . }}
+## {{ $e.Name }}
+
+{{ range $name, $value := ($e.Properties) }}- **{{$name}}**: {{ $value }}
+{{ end }}
+{{ end }}