Skip to content
Edith

Docs

Command reference

ed bifrost ls

Lists the applications Bifrost has indexed, either in full or ranked against a query exactly as the bar ranks them.

Usage:

Output
ed bifrost ls [--search <query>] [--limit <n>] [--json]

Options:

Name Type / values Default What it does
--search text none Ranks the index against this query, matcher and frequency boost included.
--limit integer 50 Prints at most this many applications; 0 means no limit.
--json flag off Emits one JSON array on stdout.

ed bifrost list is an alias, and ed bifrost with no subcommand runs this one.

The plain response is one line per application, the name then its path:

Output
$ ed bifrost ls --search chromeGoogle Chrome  /Applications/Google Chrome.app

The JSON response is an array of objects with three stable fields; bundleID is null for a bundle whose Info.plist could not be read:

JSON
[  {    "name": "Google Chrome",    "path": "/Applications/Google Chrome.app",    "bundleID": "com.google.Chrome"  }]

Without --search the index is printed in alphabetical order by name, ties broken by path, and the frequency ledger is ignored. With --search the order is the bar's: every letter of the query has to appear in the name in order, word starts and adjacent runs score higher than scattered letters, an exact name beats a prefix, a shorter name wins a tie, and what you open often is nudged up. --limit truncates last in both cases.

Exit codes:

Code Meaning
0 The listing printed, including an empty one.
2 --limit was negative, or the command line was invalid.
3 Nothing is indexed yet.

An index that does not exist is a not-found, and an index that exists but has nothing matching the query is an empty success:

Output
$ ed bifrost lserror: no applications are indexed yethint: run `ed bifrost reindex` with Edith running$ ed bifrost ls --search zzzzno application matches

The command reads the cache under the extension's data root and never scans the disk itself. It is served by the installed extension through Edith's CLI and is only as current as the last rebuild. Use search for aliases, utilities, library entries and other launcher result types.

Where to go next