go-gluon-publisher/main.go

19 lines
324 B
Go

package main
import (
"flag"
"log"
_ "github.com/codingsince1985/checksum"
)
func main() {
var source_dir = flag.String("source_dir", "./", "Path to image folder (/srv/fwuploads-tmp/)")
flag.Parse()
err := generate_manifest(*source_dir)
if err != nil {
log.Println("Error generating Manifest file: ", err)
}
}