<!-- AUTO-GENERATED by scripts/generate-cli-docs.ts — do not edit. Regenerate: yarn docs:gen -->

# pop education

Education modules

## pop education create

Create a learning module that rewards PT on completion

```text
pop education create [flags]
```

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--answers` | string | no | - | JSON array of option arrays: '[["A","B"],["C","D"]]' |
| `--correct-answer` | number | yes | - | Index of correct answer (0-based; PERMANENT — updateModule cannot change it) |
| `--description` | string | no | - | Module description |
| `--idempotency-key` | string | no | - | Explicit idempotency key. Two identical creates within the TTL return the same result without re-submitting. Default: auto-derived from argv. |
| `--link` | string | no | - | External learning resource URL |
| `--name` | string | yes | - | Module title |
| `--no-idempotency` | boolean | no | `false` | Bypass the idempotency cache and always submit a new module. |
| `--payout` | number | yes | - | PT reward for completion (must be > 0) |
| `--quiz` | string | no | - | JSON array of question strings: '["Q1?", "Q2?"]' |

## pop education list

List education modules

```text
pop education list [flags]
```

## pop education update

Update a module's payout/metadata — read-then-merge full edit

```text
pop education update [flags]
```

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--answers` | string | no | - | New JSON array of option arrays (note: the correct answer is fixed at creation) |
| `--description` | string | no | - | New module description (re-pins metadata) |
| `--link` | string | no | - | New external learning resource URL (re-pins metadata) |
| `--module` | string | yes | - | Module ID |
| `--name` | string | no | - | New module title (re-pins metadata) |
| `--payout` | number | no | - | New PT reward for completion (must be > 0) |
| `--quiz` | string | no | - | New JSON array of question strings (note: the correct answer is fixed at creation) |

## pop education remove

Permanently remove a module (destructive — no undo)

```text
pop education remove [flags]
```

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--module` | string | yes | - | Module ID to remove (permanent — no undo) |

## pop education complete

Complete a module's quiz and claim its PT reward

```text
pop education complete [flags]
```

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--answer` | number | yes | - | Answer index (0-based) |
| `--idempotency-key` | string | no | - | Explicit idempotency key. Two identical completions within the TTL return the same result without re-submitting. Default: auto-derived from argv. |
| `--module` | string | yes | - | Module ID |
| `--no-idempotency` | boolean | no | `false` | Bypass the idempotency cache and always submit. |

_Global flags: --org, --chain, --rpc, --json, --address, --private-key, --dry-run, --yes, --verbose, --quiet, --preflight (see [index.md](index.md))_
