diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | go.mod | 3 | ||||
| -rw-r--r-- | kew.go | 19 |
3 files changed, 24 insertions, 1 deletions
@@ -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`. @@ -0,0 +1,3 @@ +module kew + +go 1.24.4 @@ -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) +} |
