This commit is contained in:
Eliezer Croitoru 2021-07-18 09:58:15 +03:00
parent 0f17404c53
commit e2ce94e728

11
show-application.sh Executable file
View File

@ -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'