Command reference
ed version
Prints the CLI version, and with --json whether Edith is running.
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:
{ "appRunning": true, "version": "1.0.0"}Examples
ed versioned version --jsoned --versionappRunning 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
- Getting started with
ed, the rest of this group - All
edcommands