adding base functions
This commit is contained in:
parent
a0f1d39ce4
commit
a670dd91cd
|
@ -37,12 +37,12 @@ print_style () {
|
||||||
|
|
||||||
display_options () {
|
display_options () {
|
||||||
printf "Available options:\n";
|
printf "Available options:\n";
|
||||||
print_style " install" "success"; printf "\t\t Installs docker-sync gem on the host machine.\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 " 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 " down" "success"; printf "\t\t\t Stops containers and docker-sync.\n";
|
||||||
print_style " bash" "success"; printf "\t\t\t Opens bash on the workspace\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 " trigger" "success"; printf "\t\t Manually triggers the synchronization of files.\n";
|
||||||
print_style " clean" "warning"; printf "\t\t Removes all files from the docker-sync container.\n";
|
print_style " clean" "warning"; printf "\t\t Removes all files from docker-sync.\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $# -eq 0 ]] ; then
|
if [[ $# -eq 0 ]] ; then
|
Loading…
Reference in New Issue