diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-02 15:59:49 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-08-02 15:59:49 +0100 |
commit | 612197f16034ce1c68bf0ebb60b39fb9ba94470c (patch) | |
tree | 7c08bb3dec6ab01882161f6e4b5a6b81c8a63a4f /cmd/datamaps/main.go | |
parent | 1f442dfc4b1478e942540cc07ea21711c99a1877 (diff) |
added createdatamap command
Diffstat (limited to 'cmd/datamaps/main.go')
-rw-r--r-- | cmd/datamaps/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 != "/" { |