Raxol.System.EnvironmentAdapterBehaviour behaviour (Raxol v0.3.0)

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