mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Enhance main function comments
This commit is contained in:
parent
ad040ff9a3
commit
d821155f6b
19
psu
Normal file → Executable file
19
psu
Normal file → Executable file
@ -2,9 +2,22 @@
|
|||||||
#
|
#
|
||||||
# Deploy/update/undeploy Docker stacks in a Portainer instance.
|
# Deploy/update/undeploy Docker stacks in a Portainer instance.
|
||||||
|
|
||||||
###################
|
##########################
|
||||||
# Main entrypoint #
|
# Main entrypoint #
|
||||||
###################
|
# Globals: #
|
||||||
|
# AUTH_TOKEN #
|
||||||
|
# HTTPIE_VERIFY_SSL #
|
||||||
|
# PORTAINER_URL #
|
||||||
|
# PORTAINER_USER #
|
||||||
|
# PORTAINER_PASSWORD #
|
||||||
|
# PORTAINER_STACK_NAME #
|
||||||
|
# STACK #
|
||||||
|
# ACTION #
|
||||||
|
# Arguments: #
|
||||||
|
# None #
|
||||||
|
# Returns: #
|
||||||
|
# None #
|
||||||
|
##########################
|
||||||
main() {
|
main() {
|
||||||
set_globals $@
|
set_globals $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user