LemonCliRunners.Types.Action (lemon_cli_runners v0.1.0)

View Source

Represents a discrete action performed by a CLI agent.

Actions have an ID, kind, human-readable title, and optional detail map.

Summary

Types

t()

@type t() :: %LemonCliRunners.Types.Action{
  detail: map(),
  id: String.t(),
  kind: LemonCliRunners.Types.action_kind(),
  title: String.t()
}

Functions

new(id, kind, title, detail \\ %{})

Create a new action