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