glean-collections
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseglean collections
glean collections
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
Manage Glean collections. Subcommands: create, delete, update, add-items, delete-item.
bash
glean collections <subcommand> [flags]PREREQUISITE: 请阅读了解认证、全局标志和安全规则。../glean-shared/SKILL.md
管理Glean集合。子命令包括:create、delete、update、add-items、delete-item。
bash
glean collections <subcommand> [flags]Subcommands
子命令
| Subcommand | Description |
|---|---|
| Add documents to a collection |
| Create a new collection |
| Delete a collection |
| Remove a document from a collection |
| Get a specific collection |
| List all collections |
| Update a collection |
| 子命令 | 描述 |
|---|---|
| 向集合中添加文档 |
| 创建新集合 |
| 删除集合 |
| 从集合中移除文档 |
| 获取指定集合 |
| 列出所有集合 |
| 更新集合 |
Flags
标志
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
| 标志 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| boolean | false | |
| string | JSON请求体 | |
| json | ndjson | text | json |
Examples
示例
bash
glean collections create --json '{"name":"My Collection"}'bash
glean collections create --json '{"name":"My Collection"}'Discovering Commands
命令探索
bash
undefinedbash
undefinedShow machine-readable schema for this command
显示此命令的机器可读 schema
glean schema collections
glean schema collections
List all available commands
列出所有可用命令
glean schema | jq '.commands'
undefinedglean schema | jq '.commands'
undefined