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

**@codespar/cli 0.22.2** exposes **216 commands**, under 52 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) | 12 | Payables: submit one (structured or manual), read its state and trail |
| [codespar test](/docs/cli/reference/test) | 5 | Sandbox money (test keys only): credit a consumer directly, or mint a Pix charge and settle it |
| [codespar account](/docs/cli/reference/account) | 12 | Account: balances, the merged ledger, a money summary, spend per agent, payments, sessions, test balance and test funding |
| [codespar gate](/docs/cli/reference/gate) | 1 | Gate: what the project sells through the gateway, over the last 30 days |
| [codespar meters](/docs/cli/reference/meters) | 9 | Meters: define one on a usage event, read its usage, its events and the cycle |
| [codespar meter-events](/docs/cli/reference/meter-events) | 1 | Meter events: record one usage event, idempotent on its event id |
| [codespar onboarding](/docs/cli/reference/onboarding) | 1 | Onboarding: the first-access guide's progress for the project |
| [codespar webhook-deliveries](/docs/cli/reference/webhook-deliveries) | 1 | Webhook deliveries: every delivery attempt of the project, across endpoints |
| [codespar shop](/docs/cli/reference/shop) | 3 | Shop (delegated purchases): propose one, read where it stands, list a person's masked cards |
| [codespar collect](/docs/cli/reference/collect) | 29 | Collect: links (draft, publish, pause, archive, stats), attempts and their WhatsApp material, payments and late-payment decisions, receivers, recurring offers and their adhesions, the Test payer button |
| [codespar paywalls](/docs/cli/reference/paywalls) | 6 | Gate paywalls: create one in front of an API or MCP server, read it, change it, remove it, read its stats |
| [codespar payment-links](/docs/cli/reference/payment-links) | 7 | Payment links: the shareable URL an agent pays over x402/USDC and a person pays via Pix; list, create, read, change, remove, payments, stats |
| [codespar receipts](/docs/cli/reference/receipts) | 1 | Receipts: the receipt document (comprovante) of a payment, as PDF or PNG |
| [codespar pix-keys](/docs/cli/reference/pix-keys) | 3 | Pix keys of a consumer's own account: list, register, delete (with --confirm) |
| [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).
