aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-17 14:54:20 +0100
committerAutumn <git@autumnfo.rest>2026-05-17 14:54:20 +0100
commit177f3214d3115a5f38e139cff3963d7fb11b439a (patch)
tree5373bd38e801ca44cf37afb5c5c23c875316a5a7
parent879a900ac8e741e310f65fbafe014d0a32fb63f0 (diff)
[main] added placeholder main util
-rw-r--r--selenepaw.lua13
-rw-r--r--src/help.lua18
2 files changed, 31 insertions, 0 deletions
diff --git a/selenepaw.lua b/selenepaw.lua
new file mode 100644
index 0000000..704ff1a
--- /dev/null
+++ b/selenepaw.lua
@@ -0,0 +1,13 @@
+--
+-- ~~~ main selenepaw tool
+--
+
+-- load help messages
+local help = require("src/help")
+
+-- check if no args
+if not args then
+
+ help.main()
+
+end
diff --git a/src/help.lua b/src/help.lua
new file mode 100644
index 0000000..0df6c51
--- /dev/null
+++ b/src/help.lua
@@ -0,0 +1,18 @@
+--
+-- ~~~ help messages
+--
+
+-- main function
+function main ()
+
+ print("\nSelenePaw - a Lua-based PawSD utility.")
+ print("\nCurrently this util does nothing, but here are some planned features:")
+ print("* echo-ing a service")
+ print("* fetching a service's records\n")
+
+end
+
+-- return
+return {
+ main = main
+}