rename pass_mgr to secret-mgr

This commit is contained in:
lyn
2026-03-24 10:08:00 +00:00
parent 95d22aa42d
commit 8b4b5de3b5
13 changed files with 39 additions and 39 deletions

View File

@@ -57,11 +57,11 @@ if ! is_git_repo "$REPO_PATH"; then
exit 1
fi
USER="$(pass_mgr get-username --key git)"
PASS="$(pass_mgr get-secret --key git)"
USER="$(secret-mgr get-username --key git)"
PASS="$(secret-mgr get-secret --key git)"
if [[ -z "$USER" || -z "$PASS" ]]; then
echo "Missing credentials from pass_mgr (key: git)"
echo "Missing credentials from secret-mgr (key: git)"
exit 2
fi