Skip to content
Edith

Docs

Command reference

ed version

Prints the CLI version, and with --json whether Edith is running.

Output
ed version [--json]

Options

Name Type / values Default What it does
--json flag off Emit JSON on stdout instead of the bare version string

--json shape:

JSON
{  "appRunning": true,  "version": "1.0.0"}

Examples

Output
ed versioned version --jsoned --version

appRunning reports whether the Edith app is running. This is the polite way to find out: it reports the state and exits 0 either way, where a command that actually needs the app exits 4.

ed --version prints the same string, and every command accepts it: ed schema --version and ed machines ls --version also print 1.0.0 and exit 0.

Where to go next