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 /pkg/datamaps/config.go | |
parent | 1f442dfc4b1478e942540cc07ea21711c99a1877 (diff) |
added createdatamap command
Diffstat (limited to 'pkg/datamaps/config.go')
-rw-r--r-- | pkg/datamaps/config.go | 4 |
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") } } } |