summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-19 16:55:31 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-19 16:55:31 +0000
commit19e0040b432bc95480256bff70359b16057370a5 (patch)
tree7796fac522b6e4c0c2a8f5274473d10210e09144
parent917448e5c9d2856196c17d13b443e2037c23335d (diff)
src boilerplate
-rw-r--r--README.md3
-rw-r--r--go.mod3
-rw-r--r--kew.go19
3 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 64c27d7..59752cf 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
### kew - oK, Enough of Werc
-kew is an extremely minimal static site generator written in go inspired by the legendary `werc` by Uriel @ cat-v
+kew is an extremely minimal static site generator written in go inspired by the legendary `werc` by Uriel @ cat-v.
+it uses `lowdown`.
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..6d20d09
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module kew
+
+go 1.24.4
diff --git a/kew.go b/kew.go
new file mode 100644
index 0000000..c9652e0
--- /dev/null
+++ b/kew.go
@@ -0,0 +1,19 @@
+package main
+
+import (
+ "fmt"
+ "os"
+)
+
+func main() {
+ if len(os.Args) != 3 {
+ fmt.Fprintf(os.Stderr, "usage: kew in/ out/\n")
+ os.Exit(1)
+ }
+
+ src := os.Args[1]
+ out := os.Args[2]
+
+ fmt.Println("src:", src)
+ fmt.Println("out:", out)
+}