glean-announcements

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

glean announcements

Glean 公告命令

PREREQUISITE: Read
../glean-shared/SKILL.md
for auth, global flags, and security rules.
Manage Glean announcements. Subcommands: create, update, delete.
bash
glean announcements <subcommand> [flags]
前置要求: 请阅读
../glean-shared/SKILL.md
以了解认证、全局标志和安全规则。
管理Glean公告。子命令包括:create、update、delete。
bash
glean announcements <subcommand> [flags]

Subcommands

子命令

SubcommandDescription
create
Create a new announcement
delete
Delete an announcement
update
Update an existing announcement
子命令描述
create
创建新公告
delete
删除公告
update
更新现有公告

Flags

标志参数

FlagTypeDefaultDescription
--dry-run
booleanfalse
--json
stringJSON request body (required) (required)
--output
json | ndjson | textjson
标志参数类型默认值描述
--dry-run
booleanfalse
--json
stringJSON请求体(必填)(必填)
--output
json | ndjson | textjson

Examples

示例

bash
glean announcements create --json '{"title":"Company Update","body":"..."}'
bash
glean announcements create --json '{"title":"Company Update","body":"..."}'

Discovering Commands

命令探索

bash
undefined
bash
undefined

Show machine-readable schema for this command

显示此命令的机器可读 schema

glean schema announcements
glean schema announcements

List all available commands

列出所有可用命令

glean schema | jq '.commands'
undefined
glean schema | jq '.commands'
undefined