diff options
Diffstat (limited to 'cmd')
-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 5360def..9a5968a 100644 --- a/cmd/datamaps/main.go +++ b/cmd/datamaps/main.go @@ -19,6 +19,10 @@ func main() { opts := datamaps.ParseOptions() switch opts.Command { + case "import": + if err := datamaps.ImportToDB(opts); err != nil { + log.Fatal(err) + } case "datamap": if err := datamaps.DatamapToDB(opts); err != nil { log.Fatal(err) |