Packages
Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.
Current section
Files
Jump to
Current section
Files
lib/raxol/system/environment_adapter_behaviour.ex
defmodule Raxol.System.EnvironmentAdapterBehaviour do
@moduledoc """
A behaviour for abstracting system environment interactions.
"""
@callback get_env(variable :: String.t()) :: String.t() | nil
@callback cmd(
command :: String.t(),
args :: [String.t()],
options :: Keyword.t()
) :: {String.t(), non_neg_integer()} | {:error, any()}
end