From 612197f16034ce1c68bf0ebb60b39fb9ba94470c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 2 Aug 2020 15:59:49 +0100 Subject: added createdatamap command --- cmd/datamaps/main.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/datamaps/main.go') diff --git a/cmd/datamaps/main.go b/cmd/datamaps/main.go index 0c1862d..dc87f4f 100644 --- a/cmd/datamaps/main.go +++ b/cmd/datamaps/main.go @@ -32,6 +32,10 @@ func main() { if err != nil { log.Fatal(err) } + case "createmaster": + if err := datamaps.CreateMaster(opts); err != nil { + log.Fatal(err) + } case "server": http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { if r.URL.Path != "/" { -- cgit v1.2.3