glean-cli-documents
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseglean documents
glean 文档
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-cli-shared/SKILL.md
Retrieve and summarize Glean documents. Subcommands: get, get-by-facets, get-permissions, summarize.
bash
glean documents <subcommand> [flags]前置要求: 阅读了解身份验证、全局参数和安全规则。../glean-cli-shared/SKILL.md
用于检索和总结Glean文档,支持的子命令:get、get-by-facets、get-permissions、summarize。
bash
glean documents <subcommand> [flags]Subcommands
子命令
| Subcommand | Description |
|---|---|
| Retrieve document metadata by URL or ID |
| Retrieve documents matching facet filters |
| Inspect who has access to a document |
| Generate an AI summary of a document |
| 子命令 | 描述 |
|---|---|
| 通过URL或ID检索文档元数据 |
| 检索符合分面筛选条件的文档 |
| 查看拥有文档访问权限的对象 |
| 生成文档的AI摘要 |
Flags
参数
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 布尔值 | false | |
| 字符串 | JSON请求体 | |
| json | ndjson | text | json |
Examples
示例
bash
glean documents summarize --json '{"documentId":"DOC_ID"}' | jq .summarybash
glean documents summarize --json '{"documentId":"DOC_ID"}' | jq .summaryDiscovering Commands
查找更多命令
bash
undefinedbash
undefinedShow machine-readable schema for this command
展示该命令的机器可读Schema
glean schema documents
glean schema documents
List all available commands
列出所有可用命令
glean schema | jq '.commands'
undefinedglean schema | jq '.commands'
undefined