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