mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
15d3583c60
* docs: add missing adapter docs, fix sidebar 404s, add doc-check CI - Add doc pages for 11 undocumented adapters: arxiv, barchart, chaoxing, grok, hf, jike, jimeng, linux-do, sinafinance, stackoverflow, weread, wikipedia - Update adapters/index.md with all new adapter entries - Update VitePress sidebar config with 12 new entries - Remove broken zh/ sidebar refs (troubleshooting, testing) - Add doc-check CI workflow (adapter coverage + build + link check) - Add scripts/check-doc-coverage.sh for adapter doc enforcement - Enhance PR template with adapter doc checklist * fix(ci): use --root-dir instead of --base for lychee link checker lychee v0.23 requires --base to be a URL or absolute path. Use --root-dir for resolving root-relative links in local files. * fix(ci): remove lychee link-check job, rely on VitePress build VitePress links use extension-less paths (e.g. /adapters/browser/twitter) which lychee cannot resolve. The docs-build job already catches all broken internal links via VitePress dead link detection during build.
36 lines
838 B
Markdown
36 lines
838 B
Markdown
# 新浪财经 (Sina Finance)
|
||
|
||
**Mode**: 🌐 Public · **Domain**: `finance.sina.com.cn`
|
||
|
||
## Commands
|
||
|
||
| Command | Description |
|
||
|---------|-------------|
|
||
| `opencli sinafinance news` | 新浪财经 7×24 小时实时快讯 |
|
||
|
||
## Usage Examples
|
||
|
||
```bash
|
||
# Latest financial news
|
||
opencli sinafinance news --limit 20
|
||
|
||
# Filter by type
|
||
opencli sinafinance news --type 1 # A股
|
||
opencli sinafinance news --type 2 # 宏观
|
||
opencli sinafinance news --type 6 # 国际
|
||
|
||
# JSON output
|
||
opencli sinafinance news -f json
|
||
```
|
||
|
||
### Options
|
||
|
||
| Option | Description |
|
||
|--------|-------------|
|
||
| `--limit` | Max results, up to 50 (default: 20) |
|
||
| `--type` | News type: `0`=全部, `1`=A股, `2`=宏观, `3`=公司, `4`=数据, `5`=市场, `6`=国际, `7`=观点, `8`=央行, `9`=其它 |
|
||
|
||
## Prerequisites
|
||
|
||
- No browser required — uses public API
|