From 722e73a3e62bda047a1605fbf8c632f6de303dd8 Mon Sep 17 00:00:00 2001 From: Arian Acosta Date: Sat, 15 Jul 2017 16:58:07 -0400 Subject: [PATCH] kept only sync specific functions --- laradock.sh => sync.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) rename laradock.sh => sync.sh (82%) diff --git a/laradock.sh b/sync.sh similarity index 82% rename from laradock.sh rename to sync.sh index e0a00242..871a9607 100755 --- a/laradock.sh +++ b/sync.sh @@ -37,12 +37,16 @@ print_style () { display_options () { printf "Available options:\n"; - print_style " install" "info"; printf "\t\t Installs docker-sync gem on the host machine.\n"; - print_style " up [services]" "success"; printf "\t Starts docker-sync and runs docker compose.\n"; - print_style " down" "success"; printf "\t\t\t Stops containers and docker-sync.\n"; + print_style " up [services]" "success"; printf "\t Starts workspace and services.\n"; + print_style " down" "success"; printf "\t\t\t Stops services.\n"; print_style " bash" "success"; printf "\t\t\t Opens bash on the workspace.\n"; - print_style " trigger" "success"; printf "\t\t Manually triggers the synchronization of files.\n"; - print_style " clean" "warning"; printf "\t\t Removes all files from docker-sync.\n"; + print_style " build" "success"; printf "\t\t\t Builds images.\n"; + + print_style " sync install" "info"; printf "\t\t Installs docker-sync gem on the host machine.\n"; + print_style " sync up [services]" "success"; printf "\t Starts docker-sync and runs docker compose.\n"; + print_style " sync down" "success"; printf "\t\t\t Stops containers and docker-sync.\n"; + print_style " sync trigger" "success"; printf "\t\t Manually triggers the synchronization of files.\n"; + print_style " sync clean" "warning"; printf "\t\t Removes all files from docker-sync.\n"; } if [[ $# -eq 0 ]] ; then