src boilerplate

This commit is contained in:
uint 2025-12-19 16:55:31 +00:00
commit 19e0040b43
3 changed files with 24 additions and 1 deletions

View file

@ -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`.

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module kew
go 1.24.4

19
kew.go Normal file
View file

@ -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)
}