Loading...
Loading...
Compare original and translation side by side
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
glean shortcuts <subcommand> [flags]前提条件: 阅读了解认证、全局标志和安全规则。../glean-shared/SKILL.md
glean shortcuts <subcommand> [flags]| Subcommand | Description |
|---|---|
| Create a new shortcut |
| Delete a shortcut |
| Get a specific shortcut |
| List all shortcuts |
| Update an existing shortcut |
| 子命令 | 描述 |
|---|---|
| 创建新的快捷方式 |
| 删除快捷方式 |
| 获取特定快捷方式 |
| 列出所有快捷方式 |
| 更新现有快捷方式 |
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | Print request without sending |
| string | JSON request body (see Glean API docs for shape) | |
| json | ndjson | text | json |
| 标志 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 布尔值 | false | 打印请求但不发送 |
| 字符串 | JSON请求体(格式请参考Glean API文档) | |
| json | ndjson | text | json |
glean shortcuts list | jq '.results[].inputAlias'
glean shortcuts create --json '{"data":{"inputAlias":"test/link","destinationUrl":"https://example.com"}}'glean shortcuts list | jq '.results[].inputAlias'
glean shortcuts create --json '{"data":{"inputAlias":"test/link","destinationUrl":"https://example.com"}}'undefinedundefinedundefinedundefined