Track bundled vendor runtime sources
Some checks failed
CI / main (push) Has been cancelled
CI / release-e2e (push) Has been cancelled

This commit is contained in:
2026-07-07 10:05:50 +08:00
parent fbe179ab53
commit 52636c91ae
2111 changed files with 1850012 additions and 14 deletions

View File

@@ -0,0 +1,66 @@
# Bilibili CLI 契约
这个 skill 默认假设当前环境已经安装并可调用 `sau` 命令。
## 命令列表
### 登录
```bash
sau bilibili login --account <account>
```
- 必填参数:
- `--account`
- 作用:
- 自动准备 `biliup`
- 触发 Bilibili 登录流程
- 账号说明:
- `--account` 传的是用户自定义的 `account_name`,不是固定只能叫 `creator`
- 一个 `account_name` 对应一个账号文件,可用于多账号隔离和并发任务
- 登录方式说明:
- 这个命令应该由用户自己在本地真实终端里运行
- 如果终端二维码显示不完整,可直接打开当前目录下的 `qrcode.png` 扫码
- agent 不应该在非交互环境里硬跑这个命令
### 校验账号
```bash
sau bilibili check --account <account>
```
- 必填参数:
- `--account`
- 预期输出:
- `valid`
- `invalid`
### 上传视频
```bash
sau bilibili upload-video \
--account <account> \
--file <video-path> \
--title "<title>" \
--desc "<desc>" \
--tid <category-id> \
[--tags tag1,tag2] \
[--schedule "YYYY-MM-DD HH:MM"]
```
- 必填参数:
- `--account`
- `--file`
- `--title`
- `--desc`
- `--tid`
- 可选参数:
- `--tags`
- `--schedule`
## 额外说明
- `--tid` 第一版必须传
- `--tags` 使用逗号分隔
- `--schedule``sau` 统一时间格式
- 程序会自动准备和更新 `biliup`