1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
10 "git.arvados.org/arvados.git/lib/boot"
11 "git.arvados.org/arvados.git/lib/cloud/cloudtest"
12 "git.arvados.org/arvados.git/lib/cmd"
13 "git.arvados.org/arvados.git/lib/config"
14 "git.arvados.org/arvados.git/lib/controller"
15 "git.arvados.org/arvados.git/lib/crunchrun"
16 "git.arvados.org/arvados.git/lib/dispatchcloud"
17 "git.arvados.org/arvados.git/lib/install"
18 "git.arvados.org/arvados.git/lib/lsf"
19 "git.arvados.org/arvados.git/lib/recovercollection"
20 "git.arvados.org/arvados.git/services/keepproxy"
21 "git.arvados.org/arvados.git/services/keepstore"
22 "git.arvados.org/arvados.git/services/ws"
26 handler = cmd.Multi(map[string]cmd.Handler{
27 "version": cmd.Version,
28 "-version": cmd.Version,
29 "--version": cmd.Version,
32 "cloudtest": cloudtest.Command,
33 "config-check": config.CheckCommand,
34 "config-defaults": config.DumpDefaultsCommand,
35 "config-dump": config.DumpCommand,
36 "controller": controller.Command,
37 "crunch-run": crunchrun.Command,
38 "dispatch-cloud": dispatchcloud.Command,
39 "dispatch-lsf": lsf.DispatchCommand,
40 "install": install.Command,
41 "init": install.InitCommand,
42 "keepproxy": keepproxy.Command,
43 "keepstore": keepstore.Command,
44 "recover-collection": recovercollection.Command,
50 os.Exit(handler.RunCommand(os.Args[0], os.Args[1:], os.Stdin, os.Stdout, os.Stderr))