summaryrefslogtreecommitdiffstats
path: root/qtip/cli/commands/cmd_qpi.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/cli/commands/cmd_qpi.py')
-rw-r--r--qtip/cli/commands/cmd_qpi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qtip/cli/commands/cmd_qpi.py b/qtip/cli/commands/cmd_qpi.py
index a12fa983..1f23211e 100644
--- a/qtip/cli/commands/cmd_qpi.py
+++ b/qtip/cli/commands/cmd_qpi.py
@@ -36,7 +36,10 @@ def cmd_list(ctx):
@click.argument('name')
@pass_context
def show(ctx, name):
- pass
+ qpi = QPISpec('{}.yaml'.format(name))
+ cnt = qpi.content
+ output = utils.render('qpi', cnt)
+ click.echo(output)
@cli.command('run', help='Run performance tests for the specified QPI')