implemented basic templating and default settings

This commit is contained in:
Daniel Fichtinger 2024-11-24 21:49:37 -05:00
parent 11f724732d
commit 64e243773a
7 changed files with 143 additions and 70 deletions

1
cmd/zona/config.go Normal file
View file

@ -0,0 +1 @@
package main

View file

@ -6,7 +6,7 @@ import (
"fmt"
"os"
"github.com/ficcdaf/zona/internal/convert"
"github.com/ficcdaf/zona/internal/build"
)
// // validateFile checks whether a given path
@ -41,7 +41,7 @@ func main() {
}
}
err := convert.Traverse(*rootPath, "foobar")
err := build.Traverse(*rootPath, "foobar")
if err != nil {
fmt.Printf("Error: %s\n", err.Error())
}