View Source Kadena.Pact.Command.YamlReader (Kadena v0.19.1)

Reads YAML file to create a command.

Link to this section Summary

Link to this section Types

@type map_result() :: map()
@type path() :: String.t()
@type processed_map() :: {:ok, map_result()} | {:error, Keyword.t() | struct()}
@type root_path() :: String.t()

Link to this section Functions

@spec read(path :: path()) :: processed_map()