src boilerplate
This commit is contained in:
parent
917448e5c9
commit
19e0040b43
3 changed files with 24 additions and 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`.
|
||||
|
|
|
|||
3
go.mod
Normal file
3
go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module kew
|
||||
|
||||
go 1.24.4
|
||||
19
kew.go
Normal file
19
kew.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue