Blitz.Command (blitz v0.3.0)

Copy Markdown View Source

Command specification for Blitz.

Summary

Functions

Builds a %Blitz.Command{} from a keyword list or map.

Types

env_pair()

@type env_pair() :: {String.t(), env_value()}

env_value()

@type env_value() :: String.t() | nil

t()

@type t() :: %Blitz.Command{
  args: [String.t()],
  cd: String.t() | nil,
  command: String.t(),
  env: [env_pair()],
  id: String.t()
}

Functions

new(attributes)

@spec new(keyword() | map()) :: t()

Builds a %Blitz.Command{} from a keyword list or map.