> ## Documentation Index
> Fetch the complete documentation index at: https://defi-cli.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands Overview

> Top-level command map and shared global flags.

## Top-level commands

* `actions`
* `approvals`
* `assets`
* `bridge`
* `chains`
* `dexes`
* `lend`
* `protocols`
* `providers`
* `rewards`
* `schema`
* `stablecoins`
* `swap`
* `transfer`
* `version`
* `wallet`
* `yield`
* `completion`

## Global flags

| Flag                | Type            | Description                         |
| ------------------- | --------------- | ----------------------------------- |
| `--json`            | bool            | Output JSON (default)               |
| `--plain`           | bool            | Output plain text                   |
| `--results-only`    | bool            | Output only data payload on success |
| `--select`          | string          | Select fields from payload          |
| `--strict`          | bool            | Fail on partial results             |
| `--timeout`         | duration string | Provider/planner request timeout    |
| `--retries`         | int             | Retries per provider request        |
| `--max-stale`       | duration string | Max stale fallback window           |
| `--no-stale`        | bool            | Disable stale fallback              |
| `--no-cache`        | bool            | Disable cache reads/writes          |
| `--enable-commands` | CSV string      | Command allowlist policy            |
| `--config`          | string          | Config file path                    |

## Usage pattern

```bash theme={null}
defi <command> <subcommand> [flags] [global flags]
```

Examples:

```bash theme={null}
defi lend markets --provider aave --chain 1 --asset USDC --results-only
defi yield positions --chain 1 --address 0xYourEOA --providers aave,morpho --results-only
defi yield deposit plan --provider morpho --chain 1 --asset USDC --vault-address 0xVault --amount 1000000 --wallet agent-treasury --results-only
defi bridge quote --provider across --from 1 --to 8453 --asset USDC --amount 1000000 --timeout 12s --retries 2 --results-only
defi swap quote --provider jupiter --chain solana --from-asset USDC --to-asset SOL --amount 1000000 --results-only
defi transfer plan --chain taiko --asset USDC --amount 1000000 --wallet agent-treasury --recipient 0xRecipient --results-only
defi actions estimate --action-id <action_id> --results-only
```

Execution note:

Standard EVM `plan` commands accept `--wallet` (OWS, recommended) or `--from-address` (local signer). Tempo swap planning always uses `--from-address`. See [Execution & Signing](/concepts/execution-auth).
