mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Add comment markers to delimit inputs, prints, actions and helpers sections of the script
This commit is contained in:
committed by
Tortue Torche
parent
32e1069d43
commit
b8e210dace
16
psu
16
psu
@ -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: #
|
||||||
|
Reference in New Issue
Block a user