# `PromptRunner.Profile`
[🔗](https://github.com/nshkrdotcom/prompt_runner_sdk/blob/v0.12.1/lib/prompt_runner/profile.ex#L1)

Home-scoped Prompt Runner profiles.

# `t`

```elixir
@type t() :: %{name: String.t(), path: String.t(), options: map(), body: String.t()}
```

# `config_file`

```elixir
@spec config_file() :: String.t()
```

# `config_home`

```elixir
@spec config_home() :: String.t()
```

# `create`

```elixir
@spec create(String.t(), map()) :: {:ok, t()} | {:error, term()}
```

# `default_profile_name`

```elixir
@spec default_profile_name() :: {:ok, String.t()} | {:error, term()}
```

# `global_defaults`

```elixir
@spec global_defaults() :: map()
```

# `init`

```elixir
@spec init(keyword()) ::
  {:ok,
   %{
     config_file: String.t(),
     profile_file: String.t(),
     simulated_profile_file: String.t(),
     templates_dir: String.t(),
     default_template_file: String.t(),
     from_adr_template_file: String.t()
   }}
```

# `list`

```elixir
@spec list() :: {:ok, [String.t()]}
```

# `load`

```elixir
@spec load(String.t() | nil) :: {:ok, t()} | {:error, term()}
```

# `profile_path`

```elixir
@spec profile_path(String.t()) :: String.t()
```

# `profiles_dir`

```elixir
@spec profiles_dir() :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
