docs: clarify account name semantics

This commit is contained in:
home-dev-pookz
2026-03-25 04:38:37 +08:00
parent 02afa4dbee
commit b1f9b1af61
16 changed files with 97 additions and 59 deletions
@@ -15,6 +15,9 @@ sau kuaishou login --account <account>
- 作用:
- 启动快手登录流程,为指定账号生成或刷新 cookie 文件
- 如果登录过程中生成本地二维码图片,agent 应优先直接把图片展示/发送给用户扫码,而不是只回传路径
- 账号说明:
- `--account` 传的是用户自定义的 `account_name`,不是固定只能叫 `creator`
- 一个 `account_name` 对应一个账号文件,可用于多账号隔离和并发任务
### 校验 cookie
@@ -10,7 +10,9 @@ def run_command(command: list[str]) -> None:
def main() -> None:
account = "creator"
account = "account_a"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
commands = [
["sau", "kuaishou", "login", "--account", account],
@@ -1,6 +1,8 @@
# PowerShell examples for the installed sau CLI.
$account = "creator"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
$account = "account_a"
$video = "videos/demo.mp4"
$thumbnail = "videos/demo.png"
$noteImages = @("videos/1.png", "videos/2.png", "videos/3.png")
@@ -2,7 +2,9 @@
set -euo pipefail
account="creator"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
account="account_a"
video="videos/demo.mp4"
thumbnail="videos/demo.png"