🌈 Changes color of help text

This commit is contained in:
Alicia Sykes 2022-03-23 01:08:47 +00:00
parent 64e127854d
commit 1e6e6efc76

View File

@ -44,9 +44,11 @@ transfer () {
# Shows usage instructions
transfer-help () {
echo "Helper script for transfering files via transfer.sh"
echo "Invoke script with file(s) or a directory to upload"
echo -e "E.g.\n $ transfer hello.txt\n $ transfer file1.txt file2.txt file3.txt\n $ transfer my-folder/\n"
welcome_msg="\033[1;33mHelper script for transfering files via transfer.sh\n"
welcome_msg="$welcome_msg\033[0;33mInvoke script with file(s) or a directory to upload\n"
welcome_msg="$welcome_msg\033[1;33mE.g.\033[0;93m\n $ transfer hello.txt\n"
welcome_msg="$welcome_msg $ transfer file1.txt file2.txt file3.txt\n $ transfer my-folder/\n"
echo -e $welcome_msg
}
# Determine if file is being run directly or sourced