Download signin.sh from a3216/gcli2api: direct link, hf CLI and curl.
- Browser
- Download file 299 Bytes
-
https://huggingface.co/spaces/a3216/gcli2api/resolve/main/signin.sh
- Command line
-
hf download hf://spaces/a3216/gcli2api/signin.sh
-
curl -L -o signin.sh https://huggingface.co/spaces/a3216/gcli2api/resolve/main/signin.sh
299 Bytes
| # 批量签到脚本:遍历 auths/ 下所有 workbuddy-*.json 账号 | |
| # 用法: ./signin.sh [auths_dir] | |
| set -e | |
| cd "$(dirname "$0")" | |
| BIN=./signin_bin | |
| if [ ! -x "$BIN" ]; then | |
| echo "build signin_bin ..." | |
| go build -o "$BIN" ./cmd/signin | |
| fi | |
| exec "$BIN" "${1:-auths}" | |