Add comment markers to delimit inputs, prints, actions and helpers sections of the script

This commit is contained in:
Tortue Torche
2019-08-11 03:25:02 -04:00
committed by Tortue Torche
parent 32e1069d43
commit b8e210dace

16
psu
View File

@ -408,6 +408,10 @@ set_globals() {
fi fi
} }
###################################################
############### inputs section ###################
###################################################
inputs() { inputs() {
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case "$1" in case "$1" in
@ -720,6 +724,10 @@ input_error() {
echo_error "$message" echo_error "$message"
} }
###################################################
############### prints section ###################
###################################################
############################ ############################
# Print an error to stderr # # Print an error to stderr #
# Globals: # # Globals: #
@ -898,6 +906,10 @@ mask_variables() {
echo "$message" echo "$message"
} }
###################################################
############### actions section ###################
###################################################
################################ ################################
# Create/update a stack # # Create/update a stack #
# Globals: # # Globals: #
@ -1247,6 +1259,10 @@ lint() {
fi || true fi || true
} }
###################################################
############## helpers section ###################
###################################################
################################################### ###################################################
# Convert environment variables from file to JSON # # Convert environment variables from file to JSON #
# Globals: # # Globals: #