Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Jewell authored and benoitf committed Sep 23, 2016
1 parent 1964d0d commit 0b68664
Showing 1 changed file with 1 addition and 59 deletions.
60 changes: 1 addition & 59 deletions che.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,62 +158,4 @@ set -e
set -u
init
parse_command_line "$@"

case ${CHE_CLI_ACTION} in
start|stop|restart)
shift
load_profile
execute_che_launcher "$@"
;;
profile)
execute_profile "$@"
;;
dir)
# remove "dir" arg by shifting it
shift
load_profile
execute_che_dir "$@"
;;
action)
# remove "action" arg by shifting it
shift
load_profile
execute_che_action "$@"
;;
update)
shift
load_profile
update_che_cli
update_che_image "$@" ${CHE_SERVER_IMAGE_NAME} ${CHE_VERSION}
update_che_image "$@" ${CHE_LAUNCHER_IMAGE_NAME} ${CHE_UTILITY_VERSION}
update_che_image "$@" ${CHE_MOUNT_IMAGE_NAME} ${CHE_UTILITY_VERSION}
update_che_image "$@" ${CHE_DIR_IMAGE_NAME} ${CHE_UTILITY_VERSION}
update_che_image "$@" ${CHE_ACTION_IMAGE_NAME} ${CHE_UTILITY_VERSION}
update_che_image "$@" ${CHE_TEST_IMAGE_NAME} ${CHE_UTILITY_VERSION}
update_che_image "$@" ${CHE_DEV_IMAGE_NAME} ${CHE_UTILITY_VERSION}
;;
mount)
shift
load_profile
execute_che_mount "$@"
;;
compile)
# remove "compile" arg by shifting it
shift
load_profile
execute_che_compile "$@"
;;
test)
# remove "test" arg by shifting it
shift
load_profile
execute_che_test "$@"
;;
info)
load_profile
execute_che_info "$@"
;;
help)
usage
;;
esac
execute_cli "$@"

0 comments on commit 0b68664

Please sign in to comment.