mix cherry.version (cherry v0.4.1)

Copy Markdown View Source

Prints the Cherry version.

Usage

mix cherry.version [--json]

With --json, emits the standard envelope:

{"ok":true,"command":"version","data":{"version":"...","revision":"..."}}

revision is the git commit this build was compiled from, so a build from a branch is distinguishable from the release it was branched from. It is null when Cherry was compiled from a hex package rather than a checkout.