介绍
# office-quotes Skill
从《办公室》(美版)电视剧中生成随机语录。
## 安装
```bash npm install -g office-quotes-cli ```
## 使用方法
```bash # Random offline quote (text only) office-quotes
# API quote with SVG card office-quotes --source api
# PNG output (best for Telegram) office-quotes --source api --format png
# Light theme office-quotes --source api --theme light ```
## 选项
| 选项 | 描述 | |--------|-------------| | `--source <src>` | 语录来源:local(默认),api | | `--format <fmt>` | 输出格式:svg, png, jpg, webp(默认:svg) | | `--theme <theme>` | SVG 主题:dark, light(默认:dark) | | `--json` | 以 JSON 格式输出 |
## 语录示例
> “我更愿被人畏惧还是被人爱?简单。都要。我希望人们害怕自己有多爱我。” —— Michael Scott
> “熊。甜菜。太空堡垒卡拉狄加。” —— Jim Halpert
> “每当我准备做某事时,我都会想,‘一个白痴会做这种事吗?’如果他们会,我就不做那件事。” —— Dwight Schrute
## 来源
https://github.com/gumadeiras/office-quotes-cli