Command reference
ed bifrost actions
Lists the actions that running extensions offer, the same list the bar shows in Extension actions, or runs one of them by its key.
Usage:
ed bifrost actions [query] [--refresh] [--limit <n>] [--json]ed bifrost actions --run <owner:id> [--json]Arguments and options:
| Name | Type / values | Default | What it does |
|---|---|---|---|
[query] |
text | none | Ranks the actions against these words, exactly as the bar does. |
--run |
owner:id |
none | Performs the action with this key instead of listing. |
--refresh |
flag | off | Asks every running extension again instead of reusing answers from the last five seconds. |
--limit |
integer | 50 | Lists at most this many actions. |
--json |
flag | off | Emits one JSON document on stdout. |
The plain listing prints one action per line: its key, whether it is ready,
confirms or unavailable, then the extension and the title. Extensions that
did not answer are reported on stderr:
$ ed bifrost actions jsoncaliper:json ready Caliper: JSON format and validatecaliper:jsonPath ready Caliper: JSONPathThe JSON listing carries every field:
{ "actions": [ { "available": true, "confirms": false, "extensionTitle": "Caliper", "insertsText": false, "key": "caliper:json", "owner": "caliper", "subtitle": "Open in Caliper", "title": "JSON format and validate" } ], "failures": {}}--run performs the action and prints performed <key>, or
{"key": "...", "performed": true} with --json. It refuses an action that
asks for confirmation and one that types into the app in front, because nobody
is at the bar to answer or to pick the app; run those from the bar.
Only running extensions are asked, each for at most 1.5 seconds, and an extension hidden by privacy mode is skipped.
Exit codes:
| Code | Meaning |
|---|---|
| 0 | The listing printed, including an empty one, or the action ran. |
| 2 | --limit was negative, the query was too long, or --run was combined with a query or --refresh. |
| 4 | The Bifrost extension is off, the action is unknown, refused or failed. |
Where to go next
ed bifrost gestures, to run launcher actions from a mouse buttoned bifrost, the rest of this group- All
edcommands