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'