INNER CODE UNIT · Shell
help
Dheerajmadhukar/karma_v2 · install.sh:41
function help(){
printf "Usage:\n">&2
printf "\t--check :\t\tTo check installed prerequisite packages/tools/libs\n">&2
printf "\t--install :\t\tTo install prerequisite packages/tools/libs\n">&2
printf "\t-h/--help :\t\tHelp\n">&2
printf '\n\n' >&2
printf "╔════════[ ${lightred}me_dheeraj [Author]${end} ]═════════════════════════════════════════════════════════════╗\n\n" >&2
printf "${logo}\t - https://buymeacoffee.com/medheeraj${end}\n" >&2
printf "${logo}\t - https://github.com/Dheerajmadhukar${end}\n" >&2
printf "${logo}\t - https://twitter.com/Dheerajmadhukar${end}\n" >&2
printf "${logo}\t - https://www.youtube.com/c/DheerajMadhukar${end}\n" >&2
printf "${logo}\t - https://linkedin.com/in/dheerajtechnolegends${end}\n" >&2
printf "╚════════════════════════════════════════════════════════════════════════════════════════════╝\n\n" >&2
}
function check_install(){
for i in "${!tools[@]}";do
if [[ $i == "go" ]];then
if ${i} version &> /dev/null;then