Oratos (oratos v0.3.0)

Copy Markdown

Helpers for locating and ensuring the Oratos CLI binary.

This package does not audit HTML inside the BEAM. It downloads and runs the native oratos binary from GitHub Releases.

Summary

Functions

Path to the managed binary under this package's priv directory.

Ensure the Oratos binary is present, downloading it if needed.

Configured Oratos version (without leading v).

Functions

binary_path()

Path to the managed binary under this package's priv directory.

ensure_binary()

ensure_binary!()

Ensure the Oratos binary is present, downloading it if needed.

Returns {:ok, path} or {:error, reason}.

version()

Configured Oratos version (without leading v).