cp-tls-inspection-applicati.../show-application.sh
Eliezer Croitoru e2ce94e728 17
2021-07-18 09:58:15 +03:00

12 lines
298 B
Bash
Executable File

#!/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'