HostKit.Resources.Shell (host_kit v0.1.0-beta.0)

Copy Markdown View Source

Validated Bash script resource for explicit shell execution.

Summary

Types

t()

@type t() :: %HostKit.Resources.Shell{
  creates: String.t() | nil,
  cwd: String.t() | nil,
  depends_on: [term()],
  env: %{required(String.t()) => String.t()},
  inputs: [String.t() | HostKit.Source.Ref.t()],
  meta: map(),
  name: atom() | String.t(),
  outputs: [String.t()],
  script: HostKit.ShellScript.t(),
  stamp: String.t() | nil,
  timeout: non_neg_integer() | nil,
  unless: String.t() | nil
}

Functions

id(shell)

new(name, script, opts \\ [])