summaryrefslogtreecommitdiffstats
path: root/qtip/cli/commands/cmd_metric.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/cli/commands/cmd_metric.py')
-rw-r--r--qtip/cli/commands/cmd_metric.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qtip/cli/commands/cmd_metric.py b/qtip/cli/commands/cmd_metric.py
index e8d86972..31b7b702 100644
--- a/qtip/cli/commands/cmd_metric.py
+++ b/qtip/cli/commands/cmd_metric.py
@@ -35,7 +35,10 @@ def cmd_list(ctx):
@click.argument('name')
@pass_context
def show(ctx, name):
- pass
+ metric = MetricSpec('{}.yaml'.format(name))
+ cnt = metric.content
+ output = utils.render('metric', cnt)
+ click.echo(output)
@cli.command('run', help='Run tests to run Performance Metrics')