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

from __future__ import print_function

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='')
