Ravi Sir's Cards › AWS
Script library
This revision card explains Script library. It starts from the need that put helpers in one file. It describes only functions inside. The how-to section notes load it. An example on the card is call main last.
Read card text
What this card says
Why do we need it?
Put helpers in one file.
What is it?
Only functions inside.
How to do it
Load it.
source lib/common.sh
Example
Call main last.
main "$@"