Jido. VFS. Adapter. Sprite. CommandTransport
(Jido.VFS v1.0.0)
View Source
Helpers for executing and validating shell commands against a Sprite client.
Summary
Functions
Executes a command through the configured Sprite client and normalizes the result.
Verifies that the configured Sprite environment exposes the required shell commands.
Functions
@spec execute(Jido.VFS.Adapter.Sprite.Config.t(), String.t(), [String.t()], keyword()) :: {:ok, {binary(), integer()}} | {:error, term()}
Executes a command through the configured Sprite client and normalizes the result.
@spec probe_required_commands( Jido.VFS.Adapter.Sprite.Config.t(), [String.t()] | term() ) :: :ok | {:error, term()}
Verifies that the configured Sprite environment exposes the required shell commands.