PREREQUISITE: Read
../glean-cli/SKILL.mdfor auth, global flags, and security rules.
Manage Glean announcements. Subcommands: create, update, delete.
glean announcements <subcommand> [flags]
Subcommands
| Subcommand | Description |
|---|---|
create |
Create a new announcement |
delete |
Delete an announcement |
update |
Update an existing announcement |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run |
boolean | false | |
--json |
string | JSON request body (required) (required) | |
--output |
json | ndjson | text | json |
Examples
glean announcements create --json '{"title":"Company Update","body":"..."}'
Discovering Commands
# Show machine-readable schema for this command
glean schema announcements
# List all available commands
glean schema | jq '.commands'