1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
10 "git.curoverse.com/arvados.git/lib/cloud/cloudtest"
11 "git.curoverse.com/arvados.git/lib/cmd"
12 "git.curoverse.com/arvados.git/lib/config"
13 "git.curoverse.com/arvados.git/lib/controller"
14 "git.curoverse.com/arvados.git/lib/dispatchcloud"
18 handler = cmd.Multi(map[string]cmd.Handler{
19 "version": cmd.Version,
20 "-version": cmd.Version,
21 "--version": cmd.Version,
23 "cloudtest": cloudtest.Command,
24 "config-check": config.CheckCommand,
25 "config-dump": config.DumpCommand,
26 "config-defaults": config.DumpDefaultsCommand,
27 "controller": controller.Command,
28 "dispatch-cloud": dispatchcloud.Command,
33 os.Exit(handler.RunCommand(os.Args[0], os.Args[1:], os.Stdin, os.Stdout, os.Stderr))