1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
5 package deduplicationreport
10 "git.arvados.org/arvados.git/lib/cmd"
11 "git.arvados.org/arvados.git/sdk/go/ctxlog"
18 // RunCommand implements the subcommand "deduplication-report <collection> <collection> ..."
19 func (command) RunCommand(prog string, args []string, stdin io.Reader, stdout, stderr io.Writer) int {
21 logger := ctxlog.New(stderr, "text", "info")
24 logger.WithError(err).Error("fatal")
28 logger.SetFormatter(cmd.NoPrefixFormatter{})
30 exitcode := report(prog, args, logger, stdout, stderr)