# `WardrikDaemon.CLI.Follow`

Prints an agent's events as they happen.

Each event is printed as lines, by `WardrikDaemon.Console.Printer`, or with `--json` as the
CloudEvent the HTTP API streams.

  * `turn/3` asks an agent something, then follows the run that answers it until it ends or
    waits on a person.
  * `events/2` follows everything the agent does until Ctrl-C.

# `events`

```elixir
@spec events(WardrikDaemon.CLI.Context.t(), String.t()) :: :ok | {:error, String.t()}
```

Follows what `agent` does until Ctrl-C.

# `turn`

```elixir
@spec turn(WardrikDaemon.CLI.Context.t(), String.t(), String.t()) ::
  :ok | {:error, String.t()}
```

Asks `agent` `text`, then follows the run that answers it until it ends or waits on a person. Gives up after ten minutes with nothing new.

---

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