---
title: "All commands"
description: "Every command the published @codespar/cli exposes, by group, with the count each group carries."
---

**@codespar/cli 0.16.0** exposes **134 commands**, under 40 top-level entries.

This page enumerates. The task pages ([Money](/docs/cli/money), [Mandates and governance](/docs/cli/mandates-and-governance), [Catalog and discovery](/docs/cli/catalog-and-discovery)) teach, with a worked example and real output for each.

| Group | Commands | What it does |
|---|---|---|
| [Direct commands](/docs/cli/reference/direct-commands) | 20 | — |
| [codespar servers](/docs/cli/reference/servers) | 2 | Browse the server catalog |
| [codespar tools](/docs/cli/reference/tools) | 3 | Inspect tools exposed by servers |
| [codespar consumers](/docs/cli/reference/consumers) | 31 | Consumers: profile, Pix keys, Pix lookups, receipts, contact verification |
| [codespar boletos](/docs/cli/reference/boletos) | 4 | DDA boletos: subscribe a document, list the boletos it receives |
| [codespar sellers](/docs/cli/reference/sellers) | 6 | Sellers: onboarding status, custody, pending settlement, ledger |
| [codespar mcp-servers](/docs/cli/reference/mcp-servers) | 8 | Tenant MCP servers: register, validate, list, patch a tool, sweep platform fees |
| [codespar wallets](/docs/cli/reference/wallets) | 15 | Wallets: balances, ledger, funding sources, execute, transfer, custody |
| [codespar triggers](/docs/cli/reference/triggers) | 12 | Webhook endpoints: deliveries, DLQ, secret rotation, redelivery |
| [codespar charges](/docs/cli/reference/charges) | 5 | Charges: issue one, read it, list them, withdraw one |
| [codespar consents](/docs/cli/reference/consents) | 4 | Consent tokens: mint the token whose URL the consumer opens to authorise an agent |
| [codespar consumer-payments](/docs/cli/reference/consumer-payments) | 2 | Consumer payments: execute a payment on a consumer's behalf, with the audit chain (execute-stream returns SSE) |
| [codespar catalog](/docs/cli/reference/catalog) | 1 | Catalog: search it for a capability by intent |
| [codespar payables](/docs/cli/reference/payables) | 5 | Payables: submit one (structured or manual), read its state and trail |
| [codespar test](/docs/cli/reference/test) | 4 | Sandbox money (test keys only): credit a consumer directly, or mint a Pix charge and settle it |
| [codespar sessions](/docs/cli/reference/sessions) | 3 | Inspect and manage sessions |
| [codespar connect](/docs/cli/reference/connect) | 3 | Manage Connect Links for end-user provider OAuth |
| [codespar mandate](/docs/cli/reference/mandate) | 3 | Create and manage consumer mandates (the agent's allowance / wallet) |
| [codespar audit](/docs/cli/reference/audit) | 1 | Read the tamper-evident audit chain |
| [codespar logs](/docs/cli/reference/logs) | 1 | Inspect tool-call execution logs |
| [codespar agent](/docs/cli/reference/agent) | 1 | Run an agent directory: reads its agent.yaml (schema 1) and delegates to the directory's own npm start |

## What a command prints

Every command under a group page is derived from one HTTP operation and prints what that operation answered. The direct commands are written by hand and shape their own tables, but read `--json` the same way.

The route it called goes to `stderr`, so a pipe never sees it:

```text title="stderr"
ℹ GET /v1/wallets
```

On `stdout`, the payload. A bare list, or an object with exactly one list field, becomes a table over the scalar fields its items share, up to six columns, and whatever else the payload carries prints as JSON below it:

```text title="stdout"
id     display_name  currency  status
wal_1  Example       BRL       active

{
  "total": 1
}
```

Everything else prints as JSON: an object with no list, one with two lists, or one whose single list came back empty. Nested fields never become columns. A value longer than the column prints clipped, and a line below the table says how many were clipped, so a cut cell is never silent.

`--json` replaces all of that with the payload verbatim, and is what a script should read. A `204` answer prints `(no content)` on `stderr` and nothing on `stdout`.

Exit codes and the shape of a failure are in [Configuration](/docs/cli/config#what-a-script-gets-when-a-command-fails).
