From 638398e593ab95b8e280a3dafd9e1258dd5560e0 Mon Sep 17 00:00:00 2001 From: Taseer Date: Mon, 13 Mar 2017 21:13:45 +0500 Subject: Implement 'show' command. - Render the description via templates JIRA: QTIP-205 Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c Signed-off-by: Taseer Ahmed (cherry picked from commit bb5af4b9be1325b61c7f80e71c7d50892ae22956) --- qtip/cli/templates/qpi.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 qtip/cli/templates/qpi.j2 (limited to 'qtip/cli/templates/qpi.j2') diff --git a/qtip/cli/templates/qpi.j2 b/qtip/cli/templates/qpi.j2 new file mode 100644 index 00000000..cc85f10d --- /dev/null +++ b/qtip/cli/templates/qpi.j2 @@ -0,0 +1,12 @@ +Name: {{ title }} +Description: {{ description }} +{% for section in sections %} + Name: {{ section.name }} + Weight: {{ section.weight }} + Formula: {{ section.formula }} + Metrics: + {% for metric in section.metrics %} + {{ metric }} + {% endfor %} +{% endfor %} + -- cgit 1.2.3-korg