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/recovercollection"
19 "git.arvados.org/arvados.git/services/ws"
23 handler = cmd.Multi(map[string]cmd.Handler{
24 "version": cmd.Version,
25 "-version": cmd.Version,
26 "--version": cmd.Version,
29 "cloudtest": cloudtest.Command,
30 "config-check": config.CheckCommand,
31 "config-defaults": config.DumpDefaultsCommand,
32 "config-dump": config.DumpCommand,
33 "controller": controller.Command,
34 "crunch-run": crunchrun.Command,
35 "dispatch-cloud": dispatchcloud.Command,
36 "install": install.Command,
37 "init": install.InitCommand,
38 "recover-collection": recovercollection.Command,
44 os.Exit(handler.RunCommand(os.Args[0], os.Args[1:], os.Stdin, os.Stdout, os.Stderr))