Fnhelp
adding help to a function
My pattern for how to show help of a function:
aws_vpcs_cidr() {
local help=$(cat <<HELP
## aws_vpcs_cidr
List cidr blocks for vpcs in current account
Eg.
...shell
aws_vpcs_cidr
...
HELP
)
[[ "${1}" =~ "-help"$ ]] && libsh__help_doc "$help" && return 0