# Offline JSON Lines example

From a fresh checkout, create `out/offline-demo` but leave
`out/offline-demo/destination` absent. The missing destination directory
simulates an unavailable local output.

```text
moon run cmd/moonedge --target native -- run examples/config/offline.json
```

The two mock readings are accepted into the spool. Create
`out/offline-demo/destination`, then run:

```text
moon run cmd/moonedge --target native -- replay examples/config/offline.json
```

The command reports `{"replayed":2}`. The destination contains two JSON
lines in collection order. Repeating replay reports zero. Keep the spool
directory dedicated to this destination and retain it between runs.
