help 679 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#| /bin/bash

#Help function
function HELP {
  echo -e \\n"\033[1mHelp documentation for install\033[0m"\\n
  echo -e "Basic usage: install [options]"\\n
  echo -e " \033[1mOptions:\033[0m"
  echo -e "    \033[1;34m-i\033[0m directory Set the directory where to install the required dependencies"
  echo -e "    \033[1;34m-d\033[0m disable installation of requirements"
  echo -e "    \033[1;34m-s\033[0m skip user input"
  echo -e "    \033[1;34m-c\033[0m foward this options to configure"
  echo -e "    \033[1;34m-h\033[0m Displays this help message"\\n
  echo -e " \033[1mExample:\033[0m ./install -i /dependencies/here -s -c\"some_options someother_option\""\\n
  exit 1
}