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:
parent
32e1069d43
commit
b8e210dace
16
psu
16
psu
@ -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: #
|
||||
|
Loading…
Reference in New Issue
Block a user