Skip to content
Edith

Docs

Command reference

ed bifrost reindex

Asks the running menu bar app to scan the application folders again and replace the cached index.

Usage:

Output
ed bifrost reindex [--json]

Options:

Name Type / values Default What it does
--json flag off Emits one JSON document on stdout.

There are no positional arguments. The plain response is one line:

Output
index rebuild requested

The JSON response has two stable fields:

JSON
{  "operation": "bifrost.reindex",  "requested": true}

requested means the fire-and-forget request was sent. The command exits there: it does not wait for the scan and does not report how many applications were found. Read that afterwards with ed bifrost ls --json, or from the Bifrost settings pane, which states the count.

The scan walks /Applications, /System/Applications, /System/Library/CoreServices/Applications, /System/Cryptexes/App/System/Applications and ~/Applications, three directory levels deep, and never descends into a bundle. It runs off the main thread in the menu bar app, so the bar stays responsive while it happens, and the result is cached under the extension data root.

Reach for it after installing something the bar has not noticed. You should not need it otherwise: the bar builds the index on first use and refreshes it when opened with an index at least five minutes old.

Exit codes:

Code Meaning
0 The rebuild was requested.
2 The command line was invalid.
4 The Bifrost extension is off.

The extension is checked first, before the app:

Output
ed extensions enable bifrosted bifrost reindex

The command never starts Edith by itself and never changes the extension setting. The cache it replaces is a cache: deleting the file loses nothing but the next scan.

Where to go next