# Commands

Основные команды:

```bash
iola --help
iola help
iola commands
iola init
iola doctor
iola doctor --fix
iola update
iola version --check
iola config validate
iola config schema
```

Данные:

```bash
iola search "Петрова"
iola search "Петрова" --local --fts
iola schools --limit 10
iola kindergartens --search "29"
iola card "школа 29"
iola data schools --format csv --output schools.csv
```

Геокодер:

```bash
iola geo key set yandex
iola geo key status
iola geo key doctor
iola geo geocode "Йошкар-Ола, улица Петрова, 15"
iola geo nearby "Йошкар-Ола, улица Петрова, 15" --dataset all --limit 5
iola geo distance --from "Петрова 15" --to "школа 7"
iola geo map-link "школа 7"
iola geo resolve "садик золотой петушок"
iola geo route-context "школа 7"
iola geo services "Йошкар-Ола, улица Петрова, 15"
```

Облачные диски:

```bash
iola cloud setup yandex-disk
iola cloud setup mailru-cloud
iola cloud status
iola cloud doctor
iola cloud use yandex-disk
iola cloud ls /IOLA
iola cloud mkdir /IOLA/Фото
iola cloud find "справка" --path /IOLA
iola cloud upload report.md /IOLA/reports/report.md
iola cloud download /IOLA/reports/report.md ./report.md
iola cloud share /IOLA/reports/report.md
iola cloud save --text "Текст заметки" --path /IOLA/notes/note.txt
iola cloud backup
```

Yandex Connector:

```bash
iola yandex services
iola yandex setup
iola yandex menu
iola yandex status
iola yandex doctor
iola yandex enable disk mail calendar
iola yandex disable mail
iola yandex oauth-url disk --client-id CLIENT_ID
iola yandex token set
iola yandex token delete
```

Локальная БД:

```bash
iola db status
iola sync
iola sync status
iola diff
iola quality
iola history search "Петрова"
iola sessions search "Петрова"
iola sessions compact 1
iola sessions replay 1
```

AI:

```bash
iola ask "найди школу 29"
iola ask "найди школу 29" --schema json
iola ask "найди школу 29" --bare --quiet
iola agents list
iola agents run quality-checker "проверь школы"
iola subagents list
iola subagents run data-analyst "найди школы"
iola skills list
iola skills bundles
iola tools toolsets
iola files status
iola files mode read-only
iola files tree .
iola files search "Петрова" --path .
iola policy use analyst
iola tasks list
iola artifacts list
iola snapshot list
iola sandbox fork
iola trace last
iola trajectory last
iola usage summary
iola budget status
iola export education-contacts --format xlsx --output contacts.xlsx
iola changes list
iola archive doctor
iola archive list docs.zip
iola archive extract docs.zip --output ./out
iola index archive docs.zip
iola import file data.csv --dataset custom
iola index folder ./docs
iola reports list
iola plugins list
iola browser status
iola browser install
iola browser text https://example.com
iola browser screenshot https://example.com --output page.png
iola mcp serve
iola mcp serve --stdio
iola memory suggest
iola memory curate
iola review config
```

Контекст, расписания и daemon:

```bash
iola context init
iola context list
iola settings list
iola settings validate
iola cron add "каждый день 09:00 -- quality"
iola cron tick
iola daemon status
iola daemon start
iola rpc call status
iola rpc call search --query Петрова --dataset schools
```

Интерактивный режим:

```bash
iola agent
```

Внутри agent:

```text
/help
/tools
/skills list
/context list
/cron list
/usage
/compact
/retry
/undo
/memory show
/permissions
/quality
/sync
/exit
```
