hololake-system-architecture/engineering/persona-history-runtime/runtime/git-credential-guanghu-history

16 lines
226 B
Shell

#!/bin/sh
set -eu
case "${1:-}" in
get)
printf 'username=bingshuo\n'
printf 'password='
cat /etc/guanghu/persona-history-publisher.token
printf '\n'
;;
store|erase)
;;
*)
exit 64
;;
esac