---
title: "spell state"
type: reference
kind: reference
documentedFor: "1.24.1"
updated: "2026-11-19"
canonical: "https://arcaneai.net/docs/reference/cli-state"
---

# spell state

## Usage

```text
Usage: spell state [options]

Export this repository's Arcane state as one JSON document (package schema:
dist/assets/schemas/state.schema.json)

Options:
  --json                 Print the document to stdout (required; `spell status`
                         is the human view)
  --online               Also look up the latest published arcane-cli version
                         and this branch's open pull request (gh / az). Off by
                         default: a plain run makes no network request
  --include-local-paths  Hub only: add each registered repository's clone path
                         on this machine. Other machines' paths are never
                         exported
  -h, --help             display help for command
```

## Options

| Option | Description |
| --- | --- |
| `--json` | Print the document to stdout (required; `spell status` is the human view) |
| `--online` | Also look up the latest published arcane-cli version and this branch's open pull request (gh / az). Off by default: a plain run makes no network request |
| `--include-local-paths` | Hub only: add each registered repository's clone path on this machine. Other machines' paths are never exported |
| `-h, --help` | display help for command |
