Manage Glean go-links (shortcuts). Use when creating, listing, updating, or deleting short URL aliases like go/wiki.
PREREQUISITE: Read
../glean-cli/SKILL.mdfor auth, global flags, and security rules.
Manage Glean shortcuts (go-links). Subcommands: list, get, create, update, delete.
glean shortcuts <subcommand> [flags]
| Subcommand | Description |
|---|---|
create | Create a new shortcut |
delete | Delete a shortcut |
get | Get a specific shortcut |
list | List all shortcuts |
update| Update an existing shortcut |
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | boolean | false | Print request without sending |
--json | string | JSON request body (see Glean API docs for shape) | |
--output | json | ndjson | text | json |
glean shortcuts list | jq '.results[].inputAlias'
glean shortcuts create --json '{"data":{"inputAlias":"test/link","destinationUrl":"https://example.com"}}'
# Show machine-readable schema for this command
glean schema shortcuts
# List all available commands
glean schema | jq '.commands'