Format out some whitespaces

This commit is contained in:
Luke Murphy 2020-09-08 08:49:27 +02:00
parent ca25739a69
commit 59e54504fe
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

6
abra
View File

@ -5,7 +5,7 @@ if [ -z $STACK_NAME ] || [ -z $STACK_NAME ]; then
echo "ERROR: STACK_NAME must be set (e.g. export STACK_NAME=my_cool_app)" echo "ERROR: STACK_NAME must be set (e.g. export STACK_NAME=my_cool_app)"
exit exit
fi fi
sub_help(){ sub_help(){
echo "Usage: $PROGRAM_NAME <subcommand> [options]" echo "Usage: $PROGRAM_NAME <subcommand> [options]"
echo "" echo ""
@ -34,7 +34,7 @@ sub_secret_generate(){
sub_service_run(){ sub_service_run(){
SERVICE=$1 SERVICE=$1
SH=${2:-/bin/sh} SH=${2:-/bin/sh}
CONTAINER=$(docker container ls --format "table {{.ID}},{{.Names}}" \ CONTAINER=$(docker container ls --format "table {{.ID}},{{.Names}}" \
| grep ${STACK_NAME}_${SERVICE} | cut -d',' -f1) | grep ${STACK_NAME}_${SERVICE} | cut -d',' -f1)
@ -48,7 +48,7 @@ sub_service_run(){
sub_deploy (){ sub_deploy (){
COMPOSE=${1:-compose.yml} COMPOSE=${1:-compose.yml}
echo "About to deploy:" echo "About to deploy:"
echo "Compose: $(tput setaf 3)${PWD}/${COMPOSE}$(tput sgr0)" echo "Compose: $(tput setaf 3)${PWD}/${COMPOSE}$(tput sgr0)"
echo "Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)" echo "Domain: $(tput setaf 2)${DOMAIN}$(tput sgr0)"