version in a better defined place

This commit is contained in:
2026-08-26 19:47:07 -06:00
parent 901990d6f5
commit dad2acc197
+3 -1
View File
@@ -1,4 +1,6 @@
#!/usr/bin/env luajit
local version = "0.1"
local input_file_name = arg[1]
assert(input_file_name,
"You must enter an input file (its name will be the title).")
@@ -18,7 +20,7 @@ local frontmatter = {
"---",
"title: \"" .. title .. "\"",
"author: \"" .. author .. "\"",
"publisher: \"yt-transcript-tools v0.1\"",
"publisher: \"yt-transcript-tools v" .. version .. "\"",
"---",
"",
}