rpassword 7.5.4

Read passwords in console applications (unix, windows, macos, wasm).
Documentation
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -xeuo pipefail

if [ -n "$GIT_GLOBAL_HOOKS_PATH" -a -x "$GIT_GLOBAL_HOOKS_PATH/pre-commit" ]; then
  $GIT_GLOBAL_HOOKS_PATH/pre-commit
fi