From e2ce94e72826b51d08384aaadb777bf76ccf846f Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sun, 18 Jul 2021 09:58:15 +0300 Subject: [PATCH] 17 --- show-application.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 show-application.sh diff --git a/show-application.sh b/show-application.sh new file mode 100755 index 0000000..ea73fe3 --- /dev/null +++ b/show-application.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +APP_NAME="$1" + +clish -c "show application application-name \"${APP_NAME}\"" | sed -e "s@^description.*@@g" \ + -e "s@^application\-name\:.*@@g" \ + -e "s@^application\-id\:.*@@g" \ + -e "s@^Categories\:.*@@g" \ + -e "s@^application\-urls\:@@g" \ + -e 's@^[ \t]\+@@g' \ + -e '/^$/ d'