Raxol.System.EnvironmentAdapterBehaviour behaviour (Raxol Terminal v2.8.0)

Copy Markdown View Source

A behaviour for abstracting system environment interactions.

Summary

Callbacks

cmd(command, args, options)

@callback cmd(command :: String.t(), args :: [String.t()], options :: Keyword.t()) ::
  {String.t(), non_neg_integer()} | {:error, any()}

get_env(variable)

@callback get_env(variable :: String.t()) :: String.t() | nil