aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/datamaps/config.go
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-08-02 15:59:49 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-08-02 15:59:49 +0100
commit612197f16034ce1c68bf0ebb60b39fb9ba94470c (patch)
tree7c08bb3dec6ab01882161f6e4b5a6b81c8a63a4f /pkg/datamaps/config.go
parent1f442dfc4b1478e942540cc07ea21711c99a1877 (diff)
added createdatamap command
Diffstat (limited to 'pkg/datamaps/config.go')
-rw-r--r--pkg/datamaps/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/datamaps/config.go b/pkg/datamaps/config.go
index f370ba4..b21da5c 100644
--- a/pkg/datamaps/config.go
+++ b/pkg/datamaps/config.go
@@ -203,6 +203,8 @@ func processOptions(opts *Options, allArgs []string) {
opts.Command = "setup"
case "server":
opts.Command = "server"
+ case "createmaster":
+ opts.Command = "createmaster"
default:
log.Fatal("No relevant command provided.")
}
@@ -224,6 +226,8 @@ func processOptions(opts *Options, allArgs []string) {
opts.DMOverwrite = true
case "--initial":
opts.DMInitial = true
+ case "--masteroutputdir":
+ opts.MasterOutPutPath = nextString(restArgs, &i, "master output directory required")
}
}
}