#!/usr/lib/python3-crunchstat-summary/bin/python3.12
# Copyright (C) The Arvados Authors. All rights reserved.
#
# SPDX-License-Identifier: AGPL-3.0

import crunchstat_summary.command
import crunchstat_summary.summarizer
import logging
import sys

logging.getLogger().addHandler(logging.StreamHandler())

args = crunchstat_summary.command.ArgumentParser().parse_args(sys.argv[1:])
cmd = crunchstat_summary.command.Command(args)
cmd.run()
print(cmd.report(), end='')
