dk: ajout de get-profile

This commit is contained in:
Jephté Clain 2019-11-21 08:55:09 +04:00
parent ac7efadaae
commit a55f9c4a04
1 changed files with 6 additions and 0 deletions

6
dk
View File

@ -10,6 +10,8 @@ USAGE
$scriptname CMDs... $scriptname CMDs...
COMMANDES COMMANDES
get-profile
Afficher le profil courant
b|build [SERVICE] b|build [SERVICE]
Construire les images Construire les images
p|push p|push
@ -1464,6 +1466,10 @@ while [ $# -gt 0 ]; do
[ "$1" == -- ] && { shift; continue; } [ "$1" == -- ] && { shift; continue; }
cmd="$1"; shift cmd="$1"; shift
case "$cmd" in case "$cmd" in
get-profile|get_profile|profile)
echo "$PROFILE"
exit 0
;;
b|build) b|build)
build_set_options "$update_apps_mode" "$update_apps_origin" "$update_apps_branch" build_set_options "$update_apps_mode" "$update_apps_origin" "$update_apps_branch"
[ -f .build.scripts.sh ] && source ./.build.scripts.sh [ -f .build.scripts.sh ] && source ./.build.scripts.sh