#!/bin/sh # ───────────────────────────────────────────── # SPB Git — Personal Git Platform # ───────────────────────────────────────────── # Author : Simon-Pierre Boucher # Contact : contact@spboucher.ai # File : cli/lib/askpass.sh # Purpose : GIT_ASKPASS helper — feeds credentials from env, never argv # License : MIT © Simon-Pierre Boucher # ───────────────────────────────────────────── case "$1" in Username*) printf '%s\n' "${SPBGIT_USERNAME:-spb}" ;; Password*) printf '%s\n' "${SPBGIT_TOKEN}" ;; *) printf '\n' ;; esac