INNER CODE UNIT · Shell

print_usage

gruntwork-io/bash-commons · modules/bash-commons/install.sh:20

function print_usage {
  echo
  echo "Usage: install.sh [options]"
  echo
  echo "This script is used by the Gruntwork Installter to install the bash-commons library."
  echo
  echo "Options:"
  echo
  echo -e "  --dir\t\tInstall the bash-commons library into this folder. Default: $DEFAULT_INSTALL_DIR"
  echo -e "  --owner\tMake this user the owner of the folder in --dir. Default: $DEFAULT_USER_NAME."
  echo -e "  --group\tMake this group the owner of the folder in --dir. Default: $DEFAULT_USER_GROUP_NAME."
  echo -e "  --help\tShow this help text and exit."
  echo
  echo "Example:"
  echo
  echo "  gruntwork-install --repo https://github.com/gruntwork-io/bash-commons --module-name bash-commons --tag v0.0.1 --module-param dir=/opt/gruntwork/bash-commons"
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…