Skip to content
Edith

Docs

Command reference

ed app route

Prints the route of the window that owns navigation history.

Output
ed app route [--json]
Name Type / values Default What it does
--json flag off Emit JSON on stdout.

--json shape:

JSON
{  "route": "memory/chat",  "canGoBack": true,  "canGoForward": false}

Examples:

Output
ed app routeed app route --json

This reads the selection and does not change it. It does not activate Edith or order a window forward. Edith must be running; without it the command exits 4. If the window has not reported a route yet, the command exits 1.

Where to go next