go-gluon-publisher/main.go

19 lines
324 B
Go
Raw Normal View History

2023-05-29 19:33:50 +00:00
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)
}
}