CodexWrapper.Commands.Version (CodexWrapper v0.4.0)

Copy Markdown View Source

Version command -- parse codex --version output.

Summary

Functions

Get the Codex CLI version.

Functions

execute(config)

@spec execute(CodexWrapper.Config.t()) ::
  {:ok, %{version: String.t(), raw: String.t()}} | {:error, term()}

Get the Codex CLI version.

Returns the trimmed version string from codex --version.