Cherry.Commands.Version (cherry v0.2.0)

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.

Summary

Functions

The single-sourced doc text, reused as the mix task's @moduledoc.

Functions

doc()

@spec doc() :: String.t()

The single-sourced doc text, reused as the mix task's @moduledoc.