# `Sake.Prompt.Spec`
[🔗](https://github.com/hattoriai/sake/blob/v0.4.3/lib/sake/prompt.ex#L20)

The compiled definition of a prompt.

`mount` is `nil` for a prompt the server declares itself, and
`{server, prefix, spec}` for one it mounted (`Sake.Server.mount/2`):
the server it came from, the mount's prefix, and the spec as that
server has it. `proxy` is the `Sake.Proxy` whose upstream serves a
proxied prompt; it has no `module`.

# `t`

```elixir
@type t() :: %Sake.Prompt.Spec{
  args: term(),
  authentication: term(),
  description: term(),
  icons: term(),
  meta: term(),
  module: term(),
  mount: term(),
  name: term(),
  proxy: term(),
  scopes: term(),
  title: term(),
  ttl: term()
}
```

# `to_wire`

```elixir
@spec to_wire(t(), String.t()) :: map()
```

---

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