Merge branch '6429-fix-container-indexes' refs #6429
[arvados.git] / tools / crunchstat-summary / crunchstat_summary / command.py
1 import argparse
2
3
4 class ArgumentParser(argparse.ArgumentParser):
5     def __init__(self):
6         super(ArgumentParser, self).__init__(
7             description='Summarize resource usage of an Arvados Crunch job')
8         src = self.add_mutually_exclusive_group()
9         src.add_argument(
10             '--job', type=str, metavar='UUID',
11             help='Look up the specified job and read its log data from Keep')
12         src.add_argument(
13             '--log-file', type=str,
14             help='Read log data from a regular file')