Loading...
Loading...
Compare original and translation side by side
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts <command> [options]bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts <command> [options]bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "react"
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "next.js"get-library-docs/org/projectbun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "react"
bun /home/hazeruno/.config/opencode/skills/context7/scripts/context7.ts resolve-library-id --library-name "next.js"get-library-docs/org/projectundefinedundefined
**Parameters:**
- `--context7-compatible-library-i-d`: Library ID (e.g., `/mongodb/docs`, `/vercel/next.js`)
- `--mode`: `code` (default) for API/examples, `info` for conceptual guides
- `--topic`: Focus on specific topic (e.g., `hooks`, `routing`, `authentication`)
- `--page`: Pagination (1-10), use higher pages if context insufficient
**参数:**
- `--context7-compatible-library-i-d`:库ID(例如:`/mongodb/docs`, `/vercel/next.js`)
- `--mode`:`code`(默认)用于API/示例,`info`用于概念指南
- `--topic`:聚焦特定主题(例如:`hooks`, `routing`, `authentication`)
- `--page`:分页(1-10),如果内容不足可使用更高页码-t, --timeout <ms>-o, --output <format>textmarkdownjsonraw-t, --timeout <ms>-o, --output <format>textmarkdownjsonraw| Library | ID |
|---|---|
| React | |
| Next.js | |
| MongoDB | |
| Supabase | |
| Prisma | |
| 库 | ID |
|---|---|
| React | |
| Next.js | |
| MongoDB | |
| Supabase | |
| Prisma | |